aboutsummaryrefslogtreecommitdiff
path: root/sysutils/hourglass
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2015-09-03 14:09:17 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2015-09-03 14:09:17 +0000
commit6b4de2698636ccc6f6b7a341e63f08d05a73cb01 (patch)
treeaa7d1cdb860adb0016f7fed0c6f208abcb26070a /sysutils/hourglass
parent846825312aa2fb296f9c628ea6423c337b94fc52 (diff)
downloadports-6b4de2698636ccc6f6b7a341e63f08d05a73cb01.tar.gz
ports-6b4de2698636ccc6f6b7a341e63f08d05a73cb01.zip
- Switch to options helpers
- Add some NO_ARCHes - Fix and unsilence some installation commands - Other minor fixes Approved by: portmgr blanket
Notes
Notes: svn path=/head/; revision=395960
Diffstat (limited to 'sysutils/hourglass')
-rw-r--r--sysutils/hourglass/Makefile10
1 files changed, 3 insertions, 7 deletions
diff --git a/sysutils/hourglass/Makefile b/sysutils/hourglass/Makefile
index 89ccf75a18ce..81b7406dfac3 100644
--- a/sysutils/hourglass/Makefile
+++ b/sysutils/hourglass/Makefile
@@ -19,8 +19,6 @@ PORTDOCS= CALIBRATION
OPTIONS_DEFINE= DOCS
-.include <bsd.port.options.mk>
-
THREAD_LIBS= -pthread
post-patch:
@@ -31,12 +29,10 @@ post-patch:
@${REINPLACE_CMD} -e 's,%THREAD_CFLAGS%,${THREAD_CFLAGS},g' \
${WRKSRC}/configure
-post-install:
-.if ${PORT_OPTIONS:MDOCS}
+post-install-DOCS-on:
${MKDIR} ${STAGEDIR}${DOCSDIR}
-. for doc in ${PORTDOCS}
+.for doc in ${PORTDOCS}
${INSTALL_DATA} ${WRKSRC}/${doc} ${STAGEDIR}${DOCSDIR}
-. endfor
-.endif
+.endfor
.include <bsd.port.mk>