aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--mail/qconfirm/Makefile6
-rw-r--r--sysutils/runit/Makefile6
-rw-r--r--sysutils/socklog/Makefile6
3 files changed, 15 insertions, 3 deletions
diff --git a/mail/qconfirm/Makefile b/mail/qconfirm/Makefile
index cf508a048c30..e1d2a38f18e0 100644
--- a/mail/qconfirm/Makefile
+++ b/mail/qconfirm/Makefile
@@ -27,7 +27,11 @@ do-configure:
${ECHO_CMD} "${CC} ${CFLAGS}" > ${WRKSRC}/src/conf-cc
do-build:
- cd ${WRKSRC} && package/compile && package/check
+ cd ${WRKSRC} && package/compile
+ @${ECHO_MSG} "Type 'make test' to run self-tests"
+
+test:
+ cd ${WRKSRC} && package/check
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/command/* ${PREFIX}/bin
diff --git a/sysutils/runit/Makefile b/sysutils/runit/Makefile
index 2b003885f63c..bd1e6fd20d0d 100644
--- a/sysutils/runit/Makefile
+++ b/sysutils/runit/Makefile
@@ -30,7 +30,7 @@ do-configure:
${ECHO_CMD} "${CC} ${CFLAGS}" > ${WRKSRC}/src/conf-cc
do-build:
- cd ${WRKSRC} && package/compile && package/check
+ cd ${WRKSRC} && package/compile
@${MKDIR} ${WRKDIR}/etc/getty-ttyv4
@${SED} -e 's!%%PREFIX%%!${PREFIX}!' \
-e 's!%%SERVICE_DIR%%!${SERVICE_DIR}!' \
@@ -41,6 +41,10 @@ do-build:
-e 's!/usr/local!${PREFIX}!g' \
${WRKSRC}/${file} > ${WRKDIR}/${file:S!freebsd/!!}.sample
.endfor
+ @${ECHO_MSG} "Type 'make test' to run self-tests"
+
+test:
+ cd ${WRKSRC} && package/check
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/command/* ${PREFIX}/sbin
diff --git a/sysutils/socklog/Makefile b/sysutils/socklog/Makefile
index 3886b6de7f40..8504ddea62de 100644
--- a/sysutils/socklog/Makefile
+++ b/sysutils/socklog/Makefile
@@ -26,7 +26,11 @@ do-configure:
${ECHO_CMD} "${CC} ${CFLAGS}" > ${WRKSRC}/src/conf-cc
do-build:
- cd ${WRKSRC} && package/compile && package/check
+ cd ${WRKSRC} && package/compile
+ @${ECHO_MSG} "Type 'make test' to run self-tests"
+
+test:
+ cd ${WRKSRC} && package/check
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/command/* ${PREFIX}/bin