aboutsummaryrefslogtreecommitdiff
path: root/textproc/scrollkeeper
diff options
context:
space:
mode:
authorJoe Marcus Clarke <marcus@FreeBSD.org>2003-01-13 02:43:19 +0000
committerJoe Marcus Clarke <marcus@FreeBSD.org>2003-01-13 02:43:19 +0000
commite8e3f9bb11704068904811499ce5b060eb6a1dcc (patch)
tree86b816036566e7d9146c4ae2543a87fbb55697a2 /textproc/scrollkeeper
parent7e471f48b79ac4ad005a33ab3457cf806945987c (diff)
downloadports-e8e3f9bb11704068904811499ce5b060eb6a1dcc.tar.gz
ports-e8e3f9bb11704068904811499ce5b060eb6a1dcc.zip
Notes
Diffstat (limited to 'textproc/scrollkeeper')
-rw-r--r--textproc/scrollkeeper/Makefile12
1 files changed, 10 insertions, 2 deletions
diff --git a/textproc/scrollkeeper/Makefile b/textproc/scrollkeeper/Makefile
index fa9d3ffead66..94bb9727c4e1 100644
--- a/textproc/scrollkeeper/Makefile
+++ b/textproc/scrollkeeper/Makefile
@@ -7,7 +7,7 @@
PORTNAME= scrollkeeper
PORTVERSION= 0.3.11
-PORTREVISION= 4
+PORTREVISION= 5
PORTEPOCH= 1
CATEGORIES= textproc gnome
MASTER_SITES= ${MASTER_SITE_GNOME}
@@ -54,6 +54,14 @@ MAN7= scrollkeeper.7
MAN8= scrollkeeper-preinstall.8 scrollkeeper-rebuilddb.8 \
scrollkeeper-update.8
+.include <bsd.port.pre.mk>
+
+.if ${XFREE86_VERSION} == 3
+MTREE_FILE= /etc/mtree/BSD.x11.dist
+.else
+MTREE_FILE= /etc/mtree/BSD.x11-4.dist
+.endif
+
post-patch:
@${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g ; \
s|DATADIRNAME=lib|DATADIRNAME=share|g' ${WRKSRC}/configure
@@ -69,4 +77,4 @@ post-patch:
@${SH} ${PKGINSTALL} ${PKGNAME} PRE-INSTALL
.endif
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>