Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 25 Feb 2014 13:47:13 +0000 (UTC)
From:      Emanuel Haupt <ehaupt@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r346002 - head/sysutils/isc-cron
Message-ID:  <201402251347.s1PDlDos030040@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ehaupt
Date: Tue Feb 25 13:47:12 2014
New Revision: 346002
URL: http://svnweb.freebsd.org/changeset/ports/346002
QAT: https://qat.redports.org/buildarchive/r346002/

Log:
  Support staging

Modified:
  head/sysutils/isc-cron/Makefile

Modified: head/sysutils/isc-cron/Makefile
==============================================================================
--- head/sysutils/isc-cron/Makefile	Tue Feb 25 13:44:46 2014	(r346001)
+++ head/sysutils/isc-cron/Makefile	Tue Feb 25 13:47:12 2014	(r346002)
@@ -15,28 +15,21 @@ COMMENT=	ISC Cron, former Vixie Cron
 
 WRKSRC=		${WRKDIR}
 SUB_FILES=	pkg-message
-PLIST_FILES=	sbin/cron bin/crontab
+PLIST_FILES=	sbin/cron bin/crontab man/man1/crontab.1.gz \
+		man/man5/crontab.5.gz man/man8/cron.8.gz
 PKGMESSAGE=	${WRKDIR}/pkg-message
 
-MAN1=		crontab.1
-MAN5=		crontab.5
-MAN8=		cron.8
-
-NO_STAGE=	yes
 do-extract:
 	${MKDIR} ${WRKSRC}
 	cd ${WRKSRC} && ${SH} ${DISTDIR}/${DISTNAME}
 
 do-install:
-	${INSTALL_PROGRAM} ${WRKSRC}/cron ${PREFIX}/sbin
-	${INSTALL_PROGRAM} ${WRKSRC}/crontab ${PREFIX}/bin
-	${CHOWN} root ${PREFIX}/bin/crontab
-	${CHMOD} 4555 ${PREFIX}/bin/crontab
-	${INSTALL_MAN} ${WRKSRC}/crontab.1 ${PREFIX}/man/man1
-	${INSTALL_MAN} ${WRKSRC}/crontab.5 ${PREFIX}/man/man5
-	${INSTALL_MAN} ${WRKSRC}/cron.8 ${PREFIX}/man/man8
-
-post-install:
-	${CAT} ${PKGMESSAGE}
+	${INSTALL_PROGRAM} ${WRKSRC}/cron ${STAGEDIR}${PREFIX}/sbin
+	${INSTALL_PROGRAM} ${WRKSRC}/crontab ${STAGEDIR}${PREFIX}/bin
+	${CHOWN} root ${STAGEDIR}${PREFIX}/bin/crontab
+	${CHMOD} 4555 ${STAGEDIR}${PREFIX}/bin/crontab
+	${INSTALL_MAN} ${WRKSRC}/crontab.1 ${STAGEDIR}${MANPREFIX}/man/man1
+	${INSTALL_MAN} ${WRKSRC}/crontab.5 ${STAGEDIR}${MANPREFIX}/man/man5
+	${INSTALL_MAN} ${WRKSRC}/cron.8 ${STAGEDIR}${MANPREFIX}/man/man8
 
 .include <bsd.port.mk>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201402251347.s1PDlDos030040>