svn commit: r363893 - head/sysutils/uschedule
Pawel Pekala
pawel at FreeBSD.org
Sun Aug 3 12:47:25 UTC 2014
Author: pawel
Date: Sun Aug 3 12:47:24 2014
New Revision: 363893
URL: http://svnweb.freebsd.org/changeset/ports/363893
QAT: https://qat.redports.org/buildarchive/r363893/
Log:
- Add staging support
- Convert ot new options framework
- Fix WWW line in pkg-descr
Modified:
head/sysutils/uschedule/Makefile
head/sysutils/uschedule/pkg-descr
Modified: head/sysutils/uschedule/Makefile
==============================================================================
--- head/sysutils/uschedule/Makefile Sun Aug 3 12:43:09 2014 (r363892)
+++ head/sysutils/uschedule/Makefile Sun Aug 3 12:47:24 2014 (r363893)
@@ -15,19 +15,16 @@ RUN_DEPENDS= ${LOCALBASE}/bin/multilog:$
WRKSRC= ${WRKDIR}/admin/${DISTNAME}
-MAN1= uschedule.1 uschedulecmd.1 uscheduleconf.1 uschedulecp.1 \
- uscheduleedit.1 uschedulelist.1 uschedulerm.1 \
- uscheduleruntimelimit.1
-MAN7= uschedule_intro.7
-MAN8= uscheduled.8
PORTDOCS= ChangeLog NEWS SECURITY-BUG
bin= uschedule uschedulecmd uscheduleconf uschedulecp \
uscheduleedit uschedulelist uschedulerm uscheduleruntimelimit
sbin= uscheduled
-PLIST_FILES= ${bin:S,^,bin/,}
-PLIST_FILES+= ${sbin:S,^,sbin/,}
+PLIST_FILES= ${bin:S,^,bin/,} ${bin:S,^,man/man1/,:S,$,.1.gz,} \
+ man/man7/uschedule_intro.7.gz man/man8/uscheduled.8.gz \
+ sbin/uscheduled
+
+OPTIONS_DEFINE= DOCS
-NO_STAGE= yes
pre-build:
${ECHO_CMD} "${CC}" > ${WRKSRC}/src/conf-cc
${ECHO_CMD} "${CFLAGS}" > ${WRKSRC}/src/conf-cflags
@@ -36,17 +33,16 @@ regression-test: build
cd ${WRKSRC} && ${MAKE} check
do-install:
-.if !defined(NOPORTDOCS)
- ${MKDIR} ${DOCSDIR}
- cd ${WRKSRC}/src && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}
-.endif
-.for section in 1 7 8
- cd ${WRKSRC}/doc && ${INSTALL_MAN} ${MAN${section}} \
- ${MAN${section}PREFIX}/man/man${section}
-.endfor
-.for d in bin sbin
- cd ${WRKSRC}/command && ${INSTALL_PROGRAM} ${${d}} ${PREFIX}/${d}
-.endfor
- @${CAT} pkg-message
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
+ (cd ${WRKSRC}/src && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR})
+ (cd ${WRKSRC}/command && ${INSTALL_PROGRAM} ${bin} \
+ ${STAGEDIR}${PREFIX}/bin)
+ ${INSTALL_PROGRAM} ${WRKSRC}/command/${sbin} ${STAGEDIR}${PREFIX}/sbin
+ (cd ${WRKSRC}/doc && ${INSTALL_MAN} ${bin:S,$,.1,} \
+ ${STAGEDIR}${MANPREFIX}/man/man1)
+ ${INSTALL_MAN} ${WRKSRC}/doc/uschedule_intro.7 \
+ ${STAGEDIR}${MANPREFIX}/man/man7
+ ${INSTALL_MAN} ${WRKSRC}/doc/uscheduled.8 \
+ ${STAGEDIR}${MANPREFIX}/man/man8
.include <bsd.port.mk>
Modified: head/sysutils/uschedule/pkg-descr
==============================================================================
--- head/sysutils/uschedule/pkg-descr Sun Aug 3 12:43:09 2014 (r363892)
+++ head/sysutils/uschedule/pkg-descr Sun Aug 3 12:47:24 2014 (r363893)
@@ -2,4 +2,4 @@ uschedule is not cron and uschedule is n
functionality but is not intended to be a drop-in replacement. It works
differently. It's designed to be different.
-WWW: http://www.ohse.de/uwe/uschedule.html
+WWW: http://www.ohse.de/uwe/uschedule.html
More information about the svn-ports-all
mailing list