aboutsummaryrefslogtreecommitdiff
path: root/devel/hp48cc/Makefile
diff options
context:
space:
mode:
authorAlexey Dokuchaev <danfe@FreeBSD.org>2013-04-26 06:21:38 +0000
committerAlexey Dokuchaev <danfe@FreeBSD.org>2013-04-26 06:21:38 +0000
commitde6f9477363479bd0a037eab07b5acf14098dc83 (patch)
tree9df415e5df059ad1571a6b30b715827c4f1b5f01 /devel/hp48cc/Makefile
parent8b8bc02a97d62f50a07f53bc2490452a10f7312c (diff)
downloadports-de6f9477363479bd0a037eab07b5acf14098dc83.tar.gz
ports-de6f9477363479bd0a037eab07b5acf14098dc83.zip
Do not check NOPORTDOCS when about to install port examples.
Notes
Notes: svn path=/head/; revision=316569
Diffstat (limited to 'devel/hp48cc/Makefile')
-rw-r--r--devel/hp48cc/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/devel/hp48cc/Makefile b/devel/hp48cc/Makefile
index 13d1c4078ebe..fffb1cf56756 100644
--- a/devel/hp48cc/Makefile
+++ b/devel/hp48cc/Makefile
@@ -21,13 +21,17 @@ MAN1= ${PORTNAME}.1
PLIST_FILES= bin/${PORTNAME}
PORTEXAMPLES= *
+OPTIONS_DEFINE= EXAMPLES
+
+.include <bsd.port.options.mk>
+
post-patch:
# Fix the Makefile to unbreak parallel builds
@${REINPLACE_CMD} -e 's,(YACC),& -o parser.c, ; \
s,(LEX),& -olexer.c, ; /mv/d' ${WRKSRC}/src/Makefile.in
post-install:
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MEXAMPLES}
@${MKDIR} ${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/examples/* ${EXAMPLESDIR}
.endif