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:
parent
7ffe71899d
commit
7c329fca23
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=329998
@ -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>
|
||||
|
6
net-mgmt/hastmon/pkg-plist
Normal file
6
net-mgmt/hastmon/pkg-plist
Normal 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
|
Loading…
Reference in New Issue
Block a user