Date: Sun, 8 May 2005 22:00:12 +0900 From: KATO Tsuguru <tkato432@yahoo.com> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/80766: Update port: editors/code-browser to 1.5 Message-ID: <20050508220012.7c92b167.tkato432@yahoo.com> Resent-Message-ID: <200505081310.j48DA1Zv002055@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 80766 >Category: ports >Synopsis: Update port: editors/code-browser to 1.5 >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sun May 08 13:10:01 GMT 2005 >Closed-Date: >Last-Modified: >Originator: KATO Tsuguru >Release: FreeBSD 4.11-RELEASE-p7 i386 >Organization: >Environment: >Description: - Update to version 1.5 Remove file: pkg-plist >How-To-Repeat: >Fix: diff -urN /usr/ports/editors/code-browser/Makefile editors/code-browser/Makefile --- /usr/ports/editors/code-browser/Makefile Sun Mar 27 10:51:17 2005 +++ editors/code-browser/Makefile Fri May 6 12:58:38 2005 @@ -7,8 +7,7 @@ # PORTNAME= code-browser -PORTVERSION= 1.3 -PORTREVISION= 1 +PORTVERSION= 1.5 CATEGORIES= editors MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= ${PORTNAME} @@ -18,9 +17,15 @@ COMMENT= A Folding Text Editor WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} -USE_REINPLACE= yes -USE_GNOME= gtk20 + USE_GCC= 3.4+ +USE_GNOME= gtk20 +USE_REINPLACE= yes + +PLIST_FILES= bin/code-browser \ + %%DATADIR%%/languages.cb-config \ + %%DATADIR%%/user-preferences.cb-config +PLIST_DIRS= %%DATADIR%% .include <bsd.port.pre.mk> @@ -29,8 +34,20 @@ .endif post-patch: - @${REINPLACE_CMD} -e "s,/usr/local,${PREFIX}," \ - -e "s,^CC,#CC," -e "s,^CFLAGS,#CFLAGS," \ - ${WRKSRC}/${MAKEFILE} ${WRKSRC}/zinc/${MAKEFILE} +.for file in Makefile zinc/Makefile + @${REINPLACE_CMD} -e 's|/usr/local|${PREFIX}|g ; \ + s|^CC|#CC|g ; \ + s|^CFLAGS|#CFLAGS|g ; \ + s| make| $$(MAKE)|g' ${WRKSRC}/${file} +.endfor + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/code-browser \ + ${PREFIX}/bin/code-browser + @${MKDIR} ${DATADIR} + ${INSTALL_DATA} ${WRKSRC}/config/languages.cb-config \ + ${DATADIR}/languages.cb-config + ${INSTALL_DATA} ${WRKSRC}/config/user-preferences-x.cb-config \ + ${DATADIR}/user-preferences.cb-config .include <bsd.port.post.mk> diff -urN /usr/ports/editors/code-browser/distinfo editors/code-browser/distinfo --- /usr/ports/editors/code-browser/distinfo Tue Feb 1 14:58:18 2005 +++ editors/code-browser/distinfo Fri May 6 12:40:54 2005 @@ -1,2 +1,2 @@ -MD5 (code-browser-1.3-src.tar.gz) = aecf4c2366f6bcbfc12c8475e207ecef -SIZE (code-browser-1.3-src.tar.gz) = 419361 +MD5 (code-browser-1.5-src.tar.gz) = e82b0a2d997d97d392c734561d23e972 +SIZE (code-browser-1.5-src.tar.gz) = 443691 diff -urN /usr/ports/editors/code-browser/pkg-plist editors/code-browser/pkg-plist --- /usr/ports/editors/code-browser/pkg-plist Tue Jan 25 18:07:29 2005 +++ editors/code-browser/pkg-plist Thu Jan 1 09:00:00 1970 @@ -1,4 +0,0 @@ -bin/code-browser -%%DATADIR%%/languages.cb-config -%%DATADIR%%/user-preferences.cb-config -@dirrm %%DATADIR%% >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050508220012.7c92b167.tkato432>