diff options
author | reg <reg@FreeBSD.org> | 2000-10-05 06:42:57 +0000 |
---|---|---|
committer | reg <reg@FreeBSD.org> | 2000-10-05 06:42:57 +0000 |
commit | 72ce7050d03c812e37966786e11996a90713afea (patch) | |
tree | 9ec01d647da1c4e80223e31fc766740c2a43ebff /sysutils/gcombust | |
parent | 97830337b8c0333a12d15a49ea1f9c9cdc3dfddf (diff) | |
download | FreeBSD-ports-72ce7050d03c812e37966786e11996a90713afea.zip FreeBSD-ports-72ce7050d03c812e37966786e11996a90713afea.tar.gz |
Implement USE_GTK, part 2.
Diffstat (limited to 'sysutils/gcombust')
-rw-r--r-- | sysutils/gcombust/Makefile | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/sysutils/gcombust/Makefile b/sysutils/gcombust/Makefile index 2a56985..ea97d74 100644 --- a/sysutils/gcombust/Makefile +++ b/sysutils/gcombust/Makefile @@ -12,23 +12,27 @@ MASTER_SITES= http://www.abo.fi/~jmunsin/gcombust/ MAINTAINER= bsdx@looksharp.net -LIB_DEPENDS= gtk12.2:${PORTSDIR}/x11-toolkits/gtk12 +LIB_DEPENDS= intl.1:${PORTSDIR}/devel/gettext RUN_DEPENDS= cdrecord:${PORTSDIR}/sysutils/cdrecord \ mkisofs:${PORTSDIR}/sysutils/mkisofs \ cdlabelgen:${PORTSDIR}/print/cdlabelgen -GTK_CONFIG?= ${X11BASE}/bin/gtk12-config USE_X_PREFIX= yes +USE_GTK= yes GNU_CONFIGURE= yes CONFIGURE_ARGS+=--without-included-gettext --datadir=${PREFIX}/share -CONFIGURE_ENV+= GTK_CONFIG=${GTK_CONFIG} CPPFLAGS="-I${LOCALBASE}/include" \ - LDFLAGS="-L${LOCALBASE}/include" +CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ + LIBS="-L${LOCALBASE}/lib" + +pre-patch: + @${PERL} -pi -e 's|-lpthread|-pthread|g ; \ + s|DATADIRNAME=lib|DATADIRNAME=share|g' ${WRKSRC}/configure post-configure: cd ${WRKSRC}/po && ${MAKE} update-po post-install: - ${MKDIR} ${PREFIX}/share/doc/gcombust + @${MKDIR} ${PREFIX}/share/doc/gcombust ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/gcombust ${INSTALL_DATA} ${WRKSRC}/NEWS ${PREFIX}/share/doc/gcombust |