diff options
author | ijliao <ijliao@FreeBSD.org> | 2002-06-01 14:29:42 +0800 |
---|---|---|
committer | ijliao <ijliao@FreeBSD.org> | 2002-06-01 14:29:42 +0800 |
commit | 18be86dd5120d3260abad309cd5c6a93bfbbd4b5 (patch) | |
tree | d9d298cab97fadc58e4a6886aa24a26ad2340115 /ftp/junglemonkey/Makefile | |
parent | 09a10540883710efe5e52fd1f9a373dc551b7f83 (diff) | |
download | freebsd-ports-gnome-18be86dd5120d3260abad309cd5c6a93bfbbd4b5.tar.gz freebsd-ports-gnome-18be86dd5120d3260abad309cd5c6a93bfbbd4b5.tar.zst freebsd-ports-gnome-18be86dd5120d3260abad309cd5c6a93bfbbd4b5.zip |
- Conform to GNOME directory hierarchy
- Support CFLAGS properly
PR: 38782
Diffstat (limited to 'ftp/junglemonkey/Makefile')
-rw-r--r-- | ftp/junglemonkey/Makefile | 18 |
1 files changed, 8 insertions, 10 deletions
diff --git a/ftp/junglemonkey/Makefile b/ftp/junglemonkey/Makefile index 69846110baa7..8e366b464dc5 100644 --- a/ftp/junglemonkey/Makefile +++ b/ftp/junglemonkey/Makefile @@ -7,7 +7,7 @@ PORTNAME= junglemonkey PORTVERSION= 0.1.11 -PORTREVISION= 0 +PORTREVISION= 1 CATEGORIES= ftp gnome MASTER_SITES= http://www.junglemonkey.net/src/ DISTNAME= jm-${PORTVERSION} @@ -16,24 +16,22 @@ MAINTAINER= ports@FreeBSD.org LIB_DEPENDS= gnet.0:${PORTSDIR}/net/gnet -USE_GMAKE= yes USE_X_PREFIX= yes USE_GNOME= yes +USE_GMAKE= yes GNU_CONFIGURE= yes -CONFIGURE_ARGS= --enable-gnome +CONFIGURE_ARGS= --enable-gnome=yes --enable-debug=no CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ - LIBS="-L${LOCALBASE}/lib" + LDFLAGS="-L${LOCALBASE}/lib" MAN1= jm.1 jmlite.1 mtprendezvous.1 pre-patch: @${PERL} -pi -e 's|-lpthread|${PTHREAD_LIBS}|g ; \ + s|/gnome/help/|/help/|g ; \ s|DATADIRNAME=lib|DATADIRNAME=share|g' ${WRKSRC}/configure - @find ${WRKSRC} -name "Makefile.in" | xargs ${PERL} -pi -e \ - 's|\$\(datadir\)/gnome/|\$\(datadir\)/|g ; \ - s|\$\(datadir\)/locale|\$\(prefix\)/share/locale|g' - -post-install: - @${RMDIR} ${X11BASE}/share/gnome/help/jm/C/stylesheet-images + @${FIND} ${WRKSRC} -name "Makefile.in*" | ${XARGS} ${PERL} -pi -e \ + 's|\$$\(datadir\)/gnome/|\$$\(datadir\)/|g ; \ + s|\$$\(datadir\)/locale|\$$\(prefix\)/share/locale|g' .include <bsd.port.mk> |