aboutsummaryrefslogtreecommitdiff
path: root/sysutils/logtool/Makefile
diff options
context:
space:
mode:
authorAdam Weinberger <adamw@FreeBSD.org>2014-07-04 22:25:48 +0000
committerAdam Weinberger <adamw@FreeBSD.org>2014-07-04 22:25:48 +0000
commit6883b2c6e73fe8ce623318807a0287e5daa9b208 (patch)
tree208ea5dc5e7a8a951319cfc1c00f5e6b5e4fd3ea /sysutils/logtool/Makefile
parent381f5c8d0b11d6ffa759a218ed654f320aaef1ae (diff)
downloadports-6883b2c6e73fe8ce623318807a0287e5daa9b208.tar.gz
ports-6883b2c6e73fe8ce623318807a0287e5daa9b208.zip
Notes
Diffstat (limited to 'sysutils/logtool/Makefile')
-rw-r--r--sysutils/logtool/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/sysutils/logtool/Makefile b/sysutils/logtool/Makefile
index 05c63b2b5501..f3d2223ca423 100644
--- a/sysutils/logtool/Makefile
+++ b/sysutils/logtool/Makefile
@@ -18,8 +18,10 @@ PKGMESSAGE= ${WRKDIR}/pkg-message
DOCS= CHANGES CREDITS README TODO doc/logtool.txt
+OPTIONS_DEFINE= DOCS
+
do-build:
- cd ${WRKSRC}/src && ${MAKE_CMD} INCLUDES="${CPPFLAGS}"
+ (cd ${WRKSRC}/src && ${MAKE_CMD} INCLUDES="${CPPFLAGS}")
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/src/logtool ${STAGEDIR}${PREFIX}/bin
@@ -28,10 +30,8 @@ do-install:
${INSTALL_DATA} ${WRKSRC}/conf/* ${STAGEDIR}${EXAMPLESDIR}
@${RM} ${STAGEDIR}${EXAMPLESDIR}/logtool.conf.in
${INSTALL_DATA} ${WRKSRC}/scripts/* ${STAGEDIR}${EXAMPLESDIR}/scripts
-.if !defined(NOPORTDOCS)
@${MKDIR} ${STAGEDIR}${DOCSDIR}
cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${STAGEDIR}${DOCSDIR}
-.endif
@${SED} -e 's!PREFIX!${PREFIX}!' ${.CURDIR}/pkg-message > ${PKGMESSAGE}
.include <bsd.port.mk>