aboutsummaryrefslogtreecommitdiff
path: root/net-mgmt/netwag
diff options
context:
space:
mode:
authorDanilo Egea Gondolfo <danilo@FreeBSD.org>2014-07-20 01:30:40 +0000
committerDanilo Egea Gondolfo <danilo@FreeBSD.org>2014-07-20 01:30:40 +0000
commit1afe86b73905a6f7331740380b97a10ff32d064f (patch)
tree90f2af02cea8ee36dc7d6c36f0cd23970c5a9b77 /net-mgmt/netwag
parent8ada39bd306d3c2127eda0994acb58eef307207f (diff)
downloadports-1afe86b73905a6f7331740380b97a10ff32d064f.tar.gz
ports-1afe86b73905a6f7331740380b97a10ff32d064f.zip
Notes
Diffstat (limited to 'net-mgmt/netwag')
-rw-r--r--net-mgmt/netwag/Makefile10
-rw-r--r--net-mgmt/netwag/pkg-plist2
2 files changed, 6 insertions, 6 deletions
diff --git a/net-mgmt/netwag/Makefile b/net-mgmt/netwag/Makefile
index 8527ea430bab..c916ae7774fa 100644
--- a/net-mgmt/netwag/Makefile
+++ b/net-mgmt/netwag/Makefile
@@ -18,13 +18,13 @@ BUILD_DEPENDS= netwox:${PORTSDIR}/net-mgmt/netwox \
xterm:${PORTSDIR}/x11/xterm
RUN_DEPENDS:= ${BUILD_DEPENDS}
+OPTIONS_DEFINE= DOCS
+
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}-src/src
SHORTPORTVERSION=${PORTVERSION:C/([0-9]*)\.([0-9]*)\.[0-9]*/\1\2/}
-MAN1= ${PORTNAME}.1 ${PORTNAME}${SHORTPORTVERSION}.1
PLIST_SUB+= SHORTPORTVERSION=${SHORTPORTVERSION}
-NO_STAGE= yes
do-configure:
@${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|' \
-e 's|%%LOCALBASE%%|${LOCALBASE}|' \
@@ -32,9 +32,7 @@ do-configure:
cd ${WRKSRC}; ${SH} ./genemake
post-install:
-.ifndef(NOPORTDOCS)
- @${MKDIR} ${DOCSDIR}
- @${CP} -R ${WRKSRC}/../../${PORTNAME}-${PORTVERSION}-doc_html/* ${DOCSDIR}
-.endif
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
+ ${CP} -R ${WRKSRC}/../../${PORTNAME}-${PORTVERSION}-doc_html/* ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>
diff --git a/net-mgmt/netwag/pkg-plist b/net-mgmt/netwag/pkg-plist
index 70c9a57ee19f..216fd7cc7e5e 100644
--- a/net-mgmt/netwag/pkg-plist
+++ b/net-mgmt/netwag/pkg-plist
@@ -1,5 +1,7 @@
bin/netwag%%SHORTPORTVERSION%%
bin/netwag
+man/man1/netwag.1.gz
+man/man1/netwag%%SHORTPORTVERSION%%.1.gz
%%PORTDOCS%%%%DOCSDIR%%/html/lessons.html
%%PORTDOCS%%%%DOCSDIR%%/images/banner_netwag.jpg
%%PORTDOCS%%%%DOCSDIR%%/index.html