svn commit: r342198 - head/sysutils/uptimed

Antoine Brodin antoine at FreeBSD.org
Sat Feb 1 18:24:36 UTC 2014


Author: antoine
Date: Sat Feb  1 18:24:35 2014
New Revision: 342198
URL: http://svnweb.freebsd.org/changeset/ports/342198
QAT: https://qat.redports.org/buildarchive/r342198/

Log:
  Stage support

Modified:
  head/sysutils/uptimed/Makefile
  head/sysutils/uptimed/pkg-plist

Modified: head/sysutils/uptimed/Makefile
==============================================================================
--- head/sysutils/uptimed/Makefile	Sat Feb  1 18:24:29 2014	(r342197)
+++ head/sysutils/uptimed/Makefile	Sat Feb  1 18:24:35 2014	(r342198)
@@ -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>

Modified: head/sysutils/uptimed/pkg-plist
==============================================================================
--- head/sysutils/uptimed/pkg-plist	Sat Feb  1 18:24:29 2014	(r342197)
+++ head/sysutils/uptimed/pkg-plist	Sat Feb  1 18:24:35 2014	(r342198)
@@ -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


More information about the svn-ports-all mailing list