svn commit: r329998 - head/net-mgmt/hastmon
Mikolaj Golub
trociny at FreeBSD.org
Thu Oct 10 13:41:56 UTC 2013
Author: trociny (src committer)
Date: Thu Oct 10 13:41:55 2013
New Revision: 329998
URL: http://svnweb.freebsd.org/changeset/ports/329998
Log:
Add stage support.
Approved by: bdrewery
Added:
head/net-mgmt/hastmon/pkg-plist (contents, props changed)
Modified:
head/net-mgmt/hastmon/Makefile
Modified: head/net-mgmt/hastmon/Makefile
==============================================================================
--- head/net-mgmt/hastmon/Makefile Thu Oct 10 13:36:27 2013 (r329997)
+++ head/net-mgmt/hastmon/Makefile Thu Oct 10 13:41:55 2013 (r329998)
@@ -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>
Added: head/net-mgmt/hastmon/pkg-plist
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/net-mgmt/hastmon/pkg-plist Thu Oct 10 13:41:55 2013 (r329998)
@@ -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
More information about the svn-ports-all
mailing list