diff options
author | trociny <trociny@FreeBSD.org> | 2013-10-10 21:41:55 +0800 |
---|---|---|
committer | trociny <trociny@FreeBSD.org> | 2013-10-10 21:41:55 +0800 |
commit | ba19a1b19ec73072ffbaba3d6354aa3d68840fa4 (patch) | |
tree | b14896b0a79886e530b5302d9f14d6ca2cf38850 | |
parent | d5cde6b1c133b9214a2057ec01b37e310c997858 (diff) | |
download | freebsd-ports-gnome-ba19a1b19ec73072ffbaba3d6354aa3d68840fa4.tar.gz freebsd-ports-gnome-ba19a1b19ec73072ffbaba3d6354aa3d68840fa4.tar.zst freebsd-ports-gnome-ba19a1b19ec73072ffbaba3d6354aa3d68840fa4.zip |
Add stage support.
Approved by: bdrewery
-rw-r--r-- | net-mgmt/hastmon/Makefile | 18 | ||||
-rw-r--r-- | net-mgmt/hastmon/pkg-plist | 6 |
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 |