aboutsummaryrefslogtreecommitdiff
path: root/net/wmnd
diff options
context:
space:
mode:
authorRenato Botelho <garga@FreeBSD.org>2012-08-03 15:34:45 +0000
committerRenato Botelho <garga@FreeBSD.org>2012-08-03 15:34:45 +0000
commit90d97bb7c0b335bf482b1243aaab6676246ab4ea (patch)
tree840e8379f841715c5db9a647458ff49f7766d803 /net/wmnd
parent3699fb2fba0a69c608a43ba48f60a0bf905f0f1c (diff)
downloadports-90d97bb7c0b335bf482b1243aaab6676246ab4ea.tar.gz
ports-90d97bb7c0b335bf482b1243aaab6676246ab4ea.zip
Notes
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>