Stage support

This commit is contained in:
Antoine Brodin 2014-02-01 18:24:35 +00:00
parent e7867a02fb
commit 10fe10fcf2
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=342198
2 changed files with 9 additions and 11 deletions

View file

@ -13,7 +13,7 @@ COMMENT= Uptime daemon
LICENSE= GPLv2
USE_BZIP2= yes
USE_GMAKE= yes
USES= gmake
USE_AUTOTOOLS= libtoolize aclocal autoheader automake autoconf
LIBTOOLIZE_ARGS=--copy --force
ACLOCAL_ARGS= # empty
@ -22,10 +22,6 @@ USE_LDCONFIG= yes
USE_RC_SUBR= ${PORTNAME}
MAN1= uprecords.1
MAN8= uptimed.8
NO_STAGE= yes
post-patch:
@${REINPLACE_CMD} -e \
's|/usr/lib/sendmail|/usr/sbin/sendmail| ; \
@ -33,11 +29,11 @@ post-patch:
${WRKSRC}/etc/uptimed.conf-dist
post-install:
@${MKDIR} ${PREFIX}/www/cgi-bin
(cd ${PREFIX}/bin && ${INSTALL_PROGRAM} uprecords \
${PREFIX}/www/cgi-bin/uprecords.cgi)
(cd ${WRKSRC}/sample-cgi && ${INSTALL_DATA} * \
${PREFIX}/www/cgi-bin)
@${MKDIR} /var/spool/uptimed
@${MKDIR} ${STAGEDIR}${PREFIX}/www/cgi-bin
${INSTALL_PROGRAM} ${STAGEDIR}${PREFIX}/bin/uprecords \
${STAGEDIR}${PREFIX}/www/cgi-bin/uprecords.cgi
${INSTALL_DATA} ${WRKSRC}/sample-cgi/* \
${STAGEDIR}${PREFIX}/www/cgi-bin
@${MKDIR} ${STAGEDIR}/var/spool/uptimed
.include <bsd.port.mk>

View file

@ -5,6 +5,8 @@ lib/libuptimed.a
lib/libuptimed.la
lib/libuptimed.so
lib/libuptimed.so.0
man/man1/uprecords.1.gz
man/man8/uptimed.8.gz
sbin/uptimed
www/cgi-bin/uprecords.cgi
www/cgi-bin/uprecords.conf