aboutsummaryrefslogtreecommitdiff
path: root/x11/simdock/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'x11/simdock/Makefile')
-rw-r--r--x11/simdock/Makefile10
1 files changed, 4 insertions, 6 deletions
diff --git a/x11/simdock/Makefile b/x11/simdock/Makefile
index 8f24bd9e3f10..ead02f6c2691 100644
--- a/x11/simdock/Makefile
+++ b/x11/simdock/Makefile
@@ -1,9 +1,5 @@
-# New ports collection makefile for: simdock
-# Date created: 28 Jul 2007
-# Whom: Yinghong.Liu <relaxbsd@gmail.com>
-#
+# Created by: Yinghong.Liu <relaxbsd@gmail.com>
# $FreeBSD$
-#
PORTNAME= simdock
PORTVERSION= 1.2
@@ -25,6 +21,8 @@ WRKSRC= ${WRKDIR}/trunk
PORTDOCS= AUTHORS COPYING ChangeLog INSTALL LICENSE NEWS README TODO
+.include <bsd.port.options.mk>
+
post-patch:
@${REINPLACE_CMD} -e 's|/usr|${PREFIX}|g' \
${WRKSRC}/Makefile.in \
@@ -34,7 +32,7 @@ post-patch:
${WRKSRC}/src/main.cc
post-install:
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${DOCSDIR}
.for doc in ${PORTDOCS}
@${INSTALL_DATA} ${WRKSRC}/${doc} ${DOCSDIR}