aboutsummaryrefslogtreecommitdiff
path: root/net-p2p/giftui/Makefile
diff options
context:
space:
mode:
authorVolker Stolz <vs@FreeBSD.org>2005-04-14 12:44:33 +0000
committerVolker Stolz <vs@FreeBSD.org>2005-04-14 12:44:33 +0000
commit00137da1c25eb41500cfd9bd30d4139b03c3e5f9 (patch)
tree5c74e1483a56abea809c9ce84fd54e198425f9b7 /net-p2p/giftui/Makefile
parent092db998604a13e6b5cd177f1b8f23bc80099439 (diff)
downloadports-00137da1c25eb41500cfd9bd30d4139b03c3e5f9.tar.gz
ports-00137da1c25eb41500cfd9bd30d4139b03c3e5f9.zip
Notes
Diffstat (limited to 'net-p2p/giftui/Makefile')
-rw-r--r--net-p2p/giftui/Makefile21
1 files changed, 19 insertions, 2 deletions
diff --git a/net-p2p/giftui/Makefile b/net-p2p/giftui/Makefile
index fefcd878da03..f6774ac04a82 100644
--- a/net-p2p/giftui/Makefile
+++ b/net-p2p/giftui/Makefile
@@ -18,12 +18,29 @@ COMMENT= GTK2 client for giFT daemon
LIB_DEPENDS= gift.0:${PORTSDIR}/net/gift
-BROKEN= "Needs an update for GTK+ 2.6"
-
USE_BZIP2= yes
USE_X_PREFIX= yes
USE_GNOME= gconf2 gtk20
USE_GMAKE= yes
+USE_REINPLACE= yes
GNU_CONFIGURE= yes
+GCONF_SCHEMAS= giftui.schemas
+
+.if !defined(NOPORTDOCS)
+PORTDOCS= AUTHORS COPYING ChangeLog NEWS README TODO
+.endif
+
+post-patch:
+ @${REINPLACE_CMD} -e 's|^giftuidatadir=.*|giftuidatadir=${DATADIR}|g' \
+ ${WRKSRC}/configure
+ @${REINPLACE_CMD} -e 's|^giftuidocdir =.*|giftuidocdir =${DOCSDIR}|g' \
+ ${WRKSRC}/Makefile.in
+
+post-install:
+.if !defined(NOPORTDOCS)
+ @${MKDIR} ${DOCSDIR}
+ cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}
+.endif
+
.include <bsd.port.mk>