aboutsummaryrefslogtreecommitdiff
path: root/x11-toolkits/tkshape
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2013-03-22 08:16:07 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2013-03-22 08:16:07 +0000
commit5ff4e33fc09e0433096ff217208741e560f37db6 (patch)
tree0eed80486c0c9ee317000732b7da17a2b76db9f5 /x11-toolkits/tkshape
parent6825f9380c20c8cc3a69580e8fcabda0603db4ff (diff)
Notes
Diffstat (limited to 'x11-toolkits/tkshape')
-rw-r--r--x11-toolkits/tkshape/Makefile17
1 files changed, 8 insertions, 9 deletions
diff --git a/x11-toolkits/tkshape/Makefile b/x11-toolkits/tkshape/Makefile
index 3af48632b314..3a0a3b39ccb9 100644
--- a/x11-toolkits/tkshape/Makefile
+++ b/x11-toolkits/tkshape/Makefile
@@ -1,7 +1,4 @@
-# New ports collection makefile for: TkShape
-# Date created: 13 March 2004
-# Whom: nivit@users.sourceforge.net
-#
+# Created by: nivit@users.sourceforge.net
# $FreeBSD$
PORTNAME= tkshape
@@ -23,11 +20,13 @@ PLIST_SUB= PORTNAME="${PORTNAME}"
USE_LDCONFIG= yes
-OPTIONS= MANPAGES "Install manual pages" on
+OPTIONS_DEFINE= MANPAGES
+OPTIONS_DEFAULT= MANPAGES
+MANPAGES_DESC= Install manual pages
-.include <bsd.port.pre.mk>
+.include <bsd.port.options.mk>
-.if defined(WITH_MANPAGES)
+.if ${PORT_OPTIONS:MMANPAGES}
MAN3= CombShape.3 QuryShape.3
MANN= shape.n
.endif
@@ -83,7 +82,7 @@ do-install:
${INSTALL_DATA} unix/pkgIndex.tcl ${TARGET_DIR}/pkgIndex.tcl;
# manpages
-.if defined(WITH_MANPAGES)
+.if ${PORT_OPTIONS:MMANPAGES}
cd ${WRKSRC}; \
for m in ${MANPAGES} ; do \
s=$${m##*.}; \
@@ -91,4 +90,4 @@ do-install:
done;
.endif
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>