aboutsummaryrefslogtreecommitdiff
path: root/net-mgmt
diff options
context:
space:
mode:
authorMikolaj Golub <trociny@FreeBSD.org>2013-10-10 13:41:55 +0000
committerMikolaj Golub <trociny@FreeBSD.org>2013-10-10 13:41:55 +0000
commit7c329fca23a5e2e9583e9362d937f87857292da2 (patch)
treeb14896b0a79886e530b5302d9f14d6ca2cf38850 /net-mgmt
parent7ffe71899da2993da2f3defc5fe0b591645942c1 (diff)
Notes
Diffstat (limited to 'net-mgmt')
-rw-r--r--net-mgmt/hastmon/Makefile18
-rw-r--r--net-mgmt/hastmon/pkg-plist6
2 files changed, 11 insertions, 13 deletions
diff --git a/net-mgmt/hastmon/Makefile b/net-mgmt/hastmon/Makefile
index a8bd2b353d73..2f8be1f6ad07 100644
--- a/net-mgmt/hastmon/Makefile
+++ b/net-mgmt/hastmon/Makefile
@@ -3,6 +3,7 @@
PORTNAME= hastmon
PORTVERSION= 0.3.1
+PORTREVISION= 1
CATEGORIES= net-mgmt
MASTER_SITES= GOOGLE_CODE
@@ -18,26 +19,17 @@ INSTALL_TARGET= installdirs install
PORTDOCS= ChangeLog COPYRIGHT README
-MAN5= hastmon.conf.5
-MAN8= hastmon.8 hastmonctl.8
-
-PLIST_FILES= sbin/hastmon \
- sbin/hastmonctl \
- etc/rc.d/hastmon
-
-NO_STAGE= yes
do-build:
${SETENV} ${MKCMAKE_ENV} ${MKCMAKE} -C ${WRKSRC}
do-install:
- ${SETENV} ${MKCMAKE_ENV} ${MKCMAKE} -C ${WRKSRC} ${INSTALL_TARGET}
+ ${SETENV} ${MKCMAKE_ENV} DESTDIR=${STAGEDIR} \
+ ${MKCMAKE} -C ${WRKSRC} ${INSTALL_TARGET}
post-install:
-.if !defined(NOPORTDOCS)
- @${MKDIR} ${DOCSDIR}
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
.for doc in ${PORTDOCS}
- ${INSTALL_DATA} ${WRKDIR}/${DISTNAME}/${doc} ${DOCSDIR}
+ ${INSTALL_DATA} ${WRKDIR}/${DISTNAME}/${doc} ${STAGEDIR}${DOCSDIR}
.endfor
-.endif
.include <bsd.port.mk>
diff --git a/net-mgmt/hastmon/pkg-plist b/net-mgmt/hastmon/pkg-plist
new file mode 100644
index 000000000000..d5bdbcf2c0b9
--- /dev/null
+++ b/net-mgmt/hastmon/pkg-plist
@@ -0,0 +1,6 @@
+etc/rc.d/hastmon
+sbin/hastmon
+sbin/hastmonctl
+man/man5/hastmon.conf.5.gz
+man/man8/hastmon.8.gz
+man/man8/hastmonctl.8.gz