From ca11e59d35c73fc67193c31b23f94fb28916a219 Mon Sep 17 00:00:00 2001 From: itetcu Date: Sat, 24 Jun 2006 18:15:11 +0000 Subject: - move setup of compiler and compiler flags to the pre-build target - no longer override do-build - define a new regression-test target depending on build that calls the package's regression test scripts and allows for automated regression testing on the ports cluster PR: ports/99427 Submitted by: maintainer --- sysutils/uschedule/Makefile | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'sysutils/uschedule') diff --git a/sysutils/uschedule/Makefile b/sysutils/uschedule/Makefile index 638bcfd2e24f..c18b49920a0c 100644 --- a/sysutils/uschedule/Makefile +++ b/sysutils/uschedule/Makefile @@ -31,10 +31,12 @@ sbin= uscheduled PLIST_FILES= ${bin:S,^,bin/,} PLIST_FILES+= ${sbin:S,^,sbin/,} -do-build: - ${ECHO_CMD} ${CC} > ${WRKSRC}/src/conf-cc - ${ECHO_CMD} ${CFLAGS} > ${WRKSRC}/src/conf-cflags - cd ${WRKSRC} && package/build +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: .if !defined(NOPORTDOCS) -- cgit