svn commit: r335813 - in head: devel/cdecl misc/getopt

Eitan Adler eadler at FreeBSD.org
Sat Dec 7 05:35:05 UTC 2013


Author: eadler
Date: Sat Dec  7 05:35:04 2013
New Revision: 335813
URL: http://svnweb.freebsd.org/changeset/ports/335813

Log:
  Remove PORT_OPTIONS:MDOCS checks from ports which don't need it
  Add NO_ARCH if useful

Modified:
  head/devel/cdecl/Makefile
  head/misc/getopt/Makefile

Modified: head/devel/cdecl/Makefile
==============================================================================
--- head/devel/cdecl/Makefile	Sat Dec  7 05:34:49 2013	(r335812)
+++ head/devel/cdecl/Makefile	Sat Dec  7 05:35:04 2013	(r335813)
@@ -20,12 +20,8 @@ MAKE_ENV+=	STAGEDIR=$(STAGEDIR)
 
 CONFLICTS=	cutils-[0-9]*
 
-.include <bsd.port.options.mk>
-
 post-install:
-.if ${PORT_OPTIONS:MDOCS}
 	${MKDIR} ${STAGEDIR}${DOCSDIR}
 	${INSTALL_DATA} ${WRKSRC}/testset* ${STAGEDIR}${DOCSDIR}
-.endif
 
 .include <bsd.port.mk>

Modified: head/misc/getopt/Makefile
==============================================================================
--- head/misc/getopt/Makefile	Sat Dec  7 05:34:49 2013	(r335812)
+++ head/misc/getopt/Makefile	Sat Dec  7 05:35:04 2013	(r335813)
@@ -17,15 +17,11 @@ MAKE_ENV+=	LIBCGETOPT=0
 
 DOCS=		Changelog README
 
-.include <bsd.port.options.mk>
-
 post-patch:
 	${REINPLACE_CMD} -e 's|CC=gcc|CC=${CC}|' ${WRKSRC}/Makefile
 
-.if ${PORT_OPTIONS:MDOCS}
 post-install:
 	${MKDIR} ${STAGEDIR}${DOCSDIR}
 	cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${STAGEDIR}${DOCSDIR}
-.endif
 
 .include <bsd.port.mk>


More information about the svn-ports-head mailing list