aboutsummaryrefslogtreecommitdiff
path: root/sysutils/gcombust/Makefile
diff options
context:
space:
mode:
authorJeremy Lea <reg@FreeBSD.org>2000-10-05 06:42:57 +0000
committerJeremy Lea <reg@FreeBSD.org>2000-10-05 06:42:57 +0000
commit99290b0d61db9bcb3c960f5507a8ccb0126a0cf9 (patch)
treebac8f356dc259524716a41398446e5c7d8f95a21 /sysutils/gcombust/Makefile
parentfda2e985daa21bcac7cf4e4882e560933d7ad5e8 (diff)
downloadports-99290b0d61db9bcb3c960f5507a8ccb0126a0cf9.tar.gz
ports-99290b0d61db9bcb3c960f5507a8ccb0126a0cf9.zip
Notes
Diffstat (limited to 'sysutils/gcombust/Makefile')
-rw-r--r--sysutils/gcombust/Makefile14
1 files changed, 9 insertions, 5 deletions
diff --git a/sysutils/gcombust/Makefile b/sysutils/gcombust/Makefile
index 2a56985f7bde..ea97d74e2663 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