From ba19a1b19ec73072ffbaba3d6354aa3d68840fa4 Mon Sep 17 00:00:00 2001 From: trociny Date: Thu, 10 Oct 2013 13:41:55 +0000 Subject: Add stage support. Approved by: bdrewery --- net-mgmt/hastmon/Makefile | 18 +++++------------- net-mgmt/hastmon/pkg-plist | 6 ++++++ 2 files changed, 11 insertions(+), 13 deletions(-) create mode 100644 net-mgmt/hastmon/pkg-plist (limited to 'net-mgmt') 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 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 -- cgit