aboutsummaryrefslogtreecommitdiffstats
path: root/net/wmnd
diff options
context:
space:
mode:
authorgarga <garga@FreeBSD.org>2012-08-03 23:34:45 +0800
committergarga <garga@FreeBSD.org>2012-08-03 23:34:45 +0800
commit614c4ed9928269c536345007e69e8ba648fccf8d (patch)
tree840e8379f841715c5db9a647458ff49f7766d803 /net/wmnd
parenta3dfce416fb9bdc21b43f0f2cbc480e7205aaa94 (diff)
downloadfreebsd-ports-gnome-614c4ed9928269c536345007e69e8ba648fccf8d.tar.gz
freebsd-ports-gnome-614c4ed9928269c536345007e69e8ba648fccf8d.tar.zst
freebsd-ports-gnome-614c4ed9928269c536345007e69e8ba648fccf8d.zip
Add DOCS, EXAMPLES and NLS to OPTIONS_DEFINE to my ports
Diffstat (limited to 'net/wmnd')
-rw-r--r--net/wmnd/Makefile9
1 files changed, 7 insertions, 2 deletions
diff --git a/net/wmnd/Makefile b/net/wmnd/Makefile
index 3b1ab9fa1b57..775dbf35c2da 100644
--- a/net/wmnd/Makefile
+++ b/net/wmnd/Makefile
@@ -16,6 +16,9 @@ COMMENT= Improved network monitoring dock app (with tons of features)
LICENSE= GPLv2
+OPTIONS_DEFINE= EXAMPLES
+OPTIONS_DEFAULT=EXAMPLES
+
USE_XORG= ice sm x11 xext xpm
USE_GMAKE= yes
GNU_CONFIGURE= yes
@@ -26,13 +29,15 @@ MAN1= wmnd.1
PORTEXAMPLES= wmndrc
PLIST_FILES= bin/wmnd
+.include <bsd.port.pre.mk>
+
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/src/wmnd ${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/doc/wmnd.1 ${MANPREFIX}/man/man1
-.if !defined(NOPORTEXAMPLES)
+.if ${PORT_OPTIONS:MEXAMPLES}
@${MKDIR} ${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/examples/wmndrc ${EXAMPLESDIR}
.endif
@${CAT} ${PKGMESSAGE}
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>