diff options
author | jylefort <jylefort@FreeBSD.org> | 2005-05-09 04:22:33 +0800 |
---|---|---|
committer | jylefort <jylefort@FreeBSD.org> | 2005-05-09 04:22:33 +0800 |
commit | a23be753cdfa4b6873572615520c53d264b4d0da (patch) | |
tree | 520d861d7fd457f5fb4f534c2db0c96c6c73466f /editors | |
parent | 3d93b97f48d173504786c038efab6c44e08fd25e (diff) | |
download | freebsd-ports-gnome-a23be753cdfa4b6873572615520c53d264b4d0da.tar.gz freebsd-ports-gnome-a23be753cdfa4b6873572615520c53d264b4d0da.tar.zst freebsd-ports-gnome-a23be753cdfa4b6873572615520c53d264b4d0da.zip |
Update to 1.5
PR: ports/80766
Submitted by: KATO Tsuguru <tkato432@yahoo.com>
Diffstat (limited to 'editors')
-rw-r--r-- | editors/code-browser/Makefile | 31 | ||||
-rw-r--r-- | editors/code-browser/distinfo | 4 | ||||
-rw-r--r-- | editors/code-browser/pkg-plist | 4 |
3 files changed, 26 insertions, 13 deletions
diff --git a/editors/code-browser/Makefile b/editors/code-browser/Makefile index de3bd01d06d3..a5d1108e85b9 100644 --- a/editors/code-browser/Makefile +++ b/editors/code-browser/Makefile @@ -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 @@ MAINTAINER= ports@FreeBSD.org 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 @@ BROKEN= "Does not build on !i386; signal 11 errors during build" .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 --git a/editors/code-browser/distinfo b/editors/code-browser/distinfo index ea01ae88321b..0946ba7ba431 100644 --- a/editors/code-browser/distinfo +++ b/editors/code-browser/distinfo @@ -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 --git a/editors/code-browser/pkg-plist b/editors/code-browser/pkg-plist deleted file mode 100644 index 478853da2719..000000000000 --- a/editors/code-browser/pkg-plist +++ /dev/null @@ -1,4 +0,0 @@ -bin/code-browser -%%DATADIR%%/languages.cb-config -%%DATADIR%%/user-preferences.cb-config -@dirrm %%DATADIR%% |