aboutsummaryrefslogtreecommitdiff
path: root/textproc/scrollkeeper
diff options
context:
space:
mode:
authorJeremy Messenger <mezz@FreeBSD.org>2006-06-12 04:58:43 +0000
committerJeremy Messenger <mezz@FreeBSD.org>2006-06-12 04:58:43 +0000
commit7f86966102abb69c7515a5251bd8a58c6e0dc124 (patch)
tree7df8eae5b4ef12fa445a8185aa981bd03f27db53 /textproc/scrollkeeper
parent94b809ada37ccd305abadce46107e632e2d86f15 (diff)
downloadports-7f86966102abb69c7515a5251bd8a58c6e0dc124.tar.gz
ports-7f86966102abb69c7515a5251bd8a58c6e0dc124.zip
Notes
Diffstat (limited to 'textproc/scrollkeeper')
-rw-r--r--textproc/scrollkeeper/Makefile10
1 files changed, 9 insertions, 1 deletions
diff --git a/textproc/scrollkeeper/Makefile b/textproc/scrollkeeper/Makefile
index 67183ca6a217..83c25f91bbf9 100644
--- a/textproc/scrollkeeper/Makefile
+++ b/textproc/scrollkeeper/Makefile
@@ -53,6 +53,14 @@ MAN7= scrollkeeper.7
MAN8= scrollkeeper-preinstall.8 scrollkeeper-rebuilddb.8 \
scrollkeeper-update.8
+.include <bsd.port.pre.mk>
+
+.if ${X_WINDOW_SYSTEM:L} == xfree86-3
+MTREE_FILE= /etc/mtree/BSD.x11.dist
+.else
+MTREE_FILE= /etc/mtree/BSD.x11-4.dist
+.endif
+
post-patch:
@${FIND} ${WRKSRC} -name Makefile.in | ${XARGS} ${REINPLACE_CMD} -e \
's|[(]LN_S[)] -f -n|(LN_S) -f|g'
@@ -61,4 +69,4 @@ post-patch:
@${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|g' \
${WRKSRC}/extract/dtds/Makefile.in
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>