svn commit: r316569 - head/devel/hp48cc

Alexey Dokuchaev danfe at FreeBSD.org
Fri Apr 26 06:21:39 UTC 2013


Author: danfe
Date: Fri Apr 26 06:21:38 2013
New Revision: 316569
URL: http://svnweb.freebsd.org/changeset/ports/316569

Log:
  Do not check NOPORTDOCS when about to install port examples.

Modified:
  head/devel/hp48cc/Makefile

Modified: head/devel/hp48cc/Makefile
==============================================================================
--- head/devel/hp48cc/Makefile	Fri Apr 26 04:03:54 2013	(r316568)
+++ head/devel/hp48cc/Makefile	Fri Apr 26 06:21:38 2013	(r316569)
@@ -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


More information about the svn-ports-all mailing list