aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils
diff options
context:
space:
mode:
authorehaupt <ehaupt@FreeBSD.org>2014-02-25 21:47:12 +0800
committerehaupt <ehaupt@FreeBSD.org>2014-02-25 21:47:12 +0800
commit426d7193486654cc1470bcc5f518e63d51d1edcc (patch)
tree60f8cb8575f99a9e4bfd13228882d2d228fc10c5 /sysutils
parente4906228047667d630f2a7dc4ef4069f39002305 (diff)
downloadfreebsd-ports-gnome-426d7193486654cc1470bcc5f518e63d51d1edcc.tar.gz
freebsd-ports-gnome-426d7193486654cc1470bcc5f518e63d51d1edcc.tar.zst
freebsd-ports-gnome-426d7193486654cc1470bcc5f518e63d51d1edcc.zip
Support staging
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/isc-cron/Makefile25
1 files changed, 9 insertions, 16 deletions
diff --git a/sysutils/isc-cron/Makefile b/sysutils/isc-cron/Makefile
index 46f6ee48080a..e4b870a9a4fc 100644
--- a/sysutils/isc-cron/Makefile
+++ b/sysutils/isc-cron/Makefile
@@ -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>