- Switch to new test framework
- Switch to options helpers
This commit is contained in:
parent
e148b070e2
commit
8ef92a2294
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=410684
1 changed files with 6 additions and 5 deletions
|
@ -15,6 +15,8 @@ RUN_DEPENDS= ${LOCALBASE}/bin/multilog:${PORTSDIR}/sysutils/daemontools
|
|||
|
||||
WRKSRC= ${WRKDIR}/admin/${DISTNAME}
|
||||
|
||||
TEST_TARGET= check
|
||||
|
||||
PORTDOCS= ChangeLog NEWS SECURITY-BUG
|
||||
bin= uschedule uschedulecmd uscheduleconf uschedulecp \
|
||||
uscheduleedit uschedulelist uschedulerm uscheduleruntimelimit
|
||||
|
@ -29,12 +31,7 @@ pre-build:
|
|||
${ECHO_CMD} "${CC}" > ${WRKSRC}/src/conf-cc
|
||||
${ECHO_CMD} "${CFLAGS}" > ${WRKSRC}/src/conf-cflags
|
||||
|
||||
regression-test: build
|
||||
cd ${WRKSRC} && ${MAKE} check
|
||||
|
||||
do-install:
|
||||
@${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
|
||||
|
@ -45,4 +42,8 @@ do-install:
|
|||
${INSTALL_MAN} ${WRKSRC}/doc/uscheduled.8 \
|
||||
${STAGEDIR}${MANPREFIX}/man/man8
|
||||
|
||||
do-install-DOCS-on:
|
||||
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||
(cd ${WRKSRC}/src && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR})
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
|
Loading…
Reference in a new issue