aboutsummaryrefslogtreecommitdiffstats
path: root/net-mgmt
diff options
context:
space:
mode:
authorwg <wg@FreeBSD.org>2014-08-06 09:43:19 +0800
committerwg <wg@FreeBSD.org>2014-08-06 09:43:19 +0800
commit723e4d33fdfb5cfa6032c8c2106e7c52db3c37bb (patch)
treec7b60b9e655196bda06708245adb5c8113c92dca /net-mgmt
parent5649dcbdcfba72042c23d19b2e1ec89954dc983b (diff)
downloadfreebsd-ports-gnome-723e4d33fdfb5cfa6032c8c2106e7c52db3c37bb.tar.gz
freebsd-ports-gnome-723e4d33fdfb5cfa6032c8c2106e7c52db3c37bb.tar.zst
freebsd-ports-gnome-723e4d33fdfb5cfa6032c8c2106e7c52db3c37bb.zip
net-mgmt/sipcalc: support stage
Diffstat (limited to 'net-mgmt')
-rw-r--r--net-mgmt/sipcalc/Makefile10
-rw-r--r--net-mgmt/sipcalc/pkg-plist1
2 files changed, 5 insertions, 6 deletions
diff --git a/net-mgmt/sipcalc/Makefile b/net-mgmt/sipcalc/Makefile
index 04667a1e6b55..7783281b4f84 100644
--- a/net-mgmt/sipcalc/Makefile
+++ b/net-mgmt/sipcalc/Makefile
@@ -10,17 +10,15 @@ MAINTAINER= ports@FreeBSD.org
COMMENT= Sipcalc is an IP subnet calculator with IPv6 support
GNU_CONFIGURE= yes
-MAN1= sipcalc.1
DOC_FILES= doc/sipcalc.txt ChangeLog README
-NO_STAGE= yes
+OPTIONS_DEFINE= DOCS
+
post-install:
-.ifndef(NOPORTDOCS)
- @${MKDIR} ${DOCSDIR}
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
.for file in ${DOC_FILES}
- @${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
+ @${INSTALL_DATA} ${WRKSRC}/${file} ${STAGEDIR}${DOCSDIR}
.endfor
-.endif
.include <bsd.port.mk>
diff --git a/net-mgmt/sipcalc/pkg-plist b/net-mgmt/sipcalc/pkg-plist
index aa430e0db40a..697e7a7a0ce6 100644
--- a/net-mgmt/sipcalc/pkg-plist
+++ b/net-mgmt/sipcalc/pkg-plist
@@ -1,4 +1,5 @@
bin/sipcalc
+man/man1/sipcalc.1.gz
%%PORTDOCS%%%%DOCSDIR%%/ChangeLog
%%PORTDOCS%%%%DOCSDIR%%/README
%%PORTDOCS%%%%DOCSDIR%%/sipcalc.txt