1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-26 09:46:09 +00:00

Add stage support.

Approved by:	bdrewery
This commit is contained in:
Mikolaj Golub 2013-10-10 13:41:55 +00:00
parent 7ffe71899d
commit 7c329fca23
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=329998
2 changed files with 11 additions and 13 deletions

View File

@ -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>

View File

@ -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