mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-22 04:17:44 +00:00
Stage support
This commit is contained in:
parent
e7867a02fb
commit
10fe10fcf2
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=342198
@ -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>
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user