From owner-svn-ports-head@FreeBSD.ORG Fri Jul 4 22:17:15 2014 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 5DD1491C; Fri, 4 Jul 2014 22:17:15 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4853627F2; Fri, 4 Jul 2014 22:17:15 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s64MHFw8014019; Fri, 4 Jul 2014 22:17:15 GMT (envelope-from adamw@svn.freebsd.org) Received: (from adamw@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s64MHCOc013999; Fri, 4 Jul 2014 22:17:12 GMT (envelope-from adamw@svn.freebsd.org) Message-Id: <201407042217.s64MHCOc013999@svn.freebsd.org> From: Adam Weinberger Date: Fri, 4 Jul 2014 22:17:12 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r360671 - in head/security: autossh clamtk fwbuilder lasso mindterm-binary mussh opensaml2 outguess p5-Filter-CBC pam_pwdfile py-gnutls skipfish sqlninja webscarab X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Jul 2014 22:17:15 -0000 Author: adamw Date: Fri Jul 4 22:17:11 2014 New Revision: 360671 URL: http://svnweb.freebsd.org/changeset/ports/360671 QAT: https://qat.redports.org/buildarchive/r360671/ Log: Remove NOPORTDOCS and NOPORTEXAMPLES. Modified: head/security/autossh/Makefile head/security/clamtk/Makefile head/security/fwbuilder/Makefile head/security/lasso/Makefile head/security/mindterm-binary/Makefile head/security/mussh/Makefile head/security/opensaml2/Makefile head/security/outguess/Makefile head/security/p5-Filter-CBC/Makefile head/security/pam_pwdfile/Makefile head/security/py-gnutls/Makefile head/security/skipfish/Makefile head/security/sqlninja/Makefile head/security/webscarab/Makefile Modified: head/security/autossh/Makefile ============================================================================== --- head/security/autossh/Makefile Fri Jul 4 22:08:14 2014 (r360670) +++ head/security/autossh/Makefile Fri Jul 4 22:17:11 2014 (r360671) @@ -14,11 +14,15 @@ GNU_CONFIGURE= yes PORTDOCS= CHANGES README +OPTIONS_DEFINE= DOCS + +.include + post-patch: @${REINPLACE_CMD} -e 's,cp autossh.1 ,$$\{BSD_INSTALL_MAN\} autossh.1 ,g' ${WRKSRC}/${MAKEFILE}.in @${REINPLACE_CMD} -e 's,cp autossh ,$$\{BSD_INSTALL_PROGRAM\} autossh ,g' ${WRKSRC}/${MAKEFILE}.in @${REINPLACE_CMD} -e 's,cp ,$$\{BSD_INSTALL_DATA\} ,g' ${WRKSRC}/${MAKEFILE}.in -.if defined(NOPORTDOCS) +.if empty(PORT_OPTIONS:MDOCS) @${REINPLACE_CMD} -Ee '/doc/d' ${WRKSRC}/${MAKEFILE}.in .endif Modified: head/security/clamtk/Makefile ============================================================================== --- head/security/clamtk/Makefile Fri Jul 4 22:08:14 2014 (r360670) +++ head/security/clamtk/Makefile Fri Jul 4 22:17:11 2014 (r360671) @@ -30,6 +30,8 @@ MAN1= ${PORTNAME}.1 LINGUAS= `${LS} ${WRKSRC}/po/*.mo | ${XARGS} ${BASENAME} -s .mo` +OPTIONS_DEFINE= DOCS + post-extract: @${GUNZIP_CMD} ${WRKSRC}/${PORTNAME}.1.gz @@ -53,11 +55,9 @@ do-install: ${INSTALL_DATA} ${WRKSRC}/po/$${l}.mo \ ${STAGEDIR}${PREFIX}/share/locale/$${l}/LC_MESSAGES/${PORTNAME}.mo; \ done -.if !defined(NOPORTDOCS) @${MKDIR} ${STAGEDIR}${DOCSDIR} .for file in CHANGES DISCLAIMER README ${INSTALL_DATA} ${WRKSRC}/${file} ${STAGEDIR}${DOCSDIR} .endfor -.endif .include Modified: head/security/fwbuilder/Makefile ============================================================================== --- head/security/fwbuilder/Makefile Fri Jul 4 22:08:14 2014 (r360670) +++ head/security/fwbuilder/Makefile Fri Jul 4 22:17:11 2014 (r360671) @@ -20,6 +20,8 @@ DISTVERSIONSUFFIX= .${BUILD} MAINTAINER= cy@FreeBSD.org COMMENT= Firewall Builder GUI and policy compilers +#OPTIONS_DEFINE= DOCS + .if defined(PKGNAMESUFFIX) && ${PKGNAMESUFFIX} == -devel CONFLICTS= fwbuilder-[234].* fwbuilder-devel-[234].* \ libfwbuilder-[234].* libfwbuilder-devel-[234].* @@ -60,9 +62,7 @@ MAKE_ENV= INSTALL_ROOT=${STAGEDIR} USE_LDCONFIG= yes PLIST_SUB+= PORTVERSION="${PORTVERSION}" -.if !defined(NOPORTDOCS) PORTDOCS= * -.endif .include @@ -81,7 +81,7 @@ post-install: @${ECHO} please make sure to backup your fwbuilder database files @${ECHO} prior to invoking fwbuilder for the first time. -.if defined(NOPORTDOCS) -BROKEN= NOPORTDOCS is incomplete in this port +.if empty(PORT_OPTIONS:MDOCS) +BROKEN= DOCS must be enabled in this port .endif .include Modified: head/security/lasso/Makefile ============================================================================== --- head/security/lasso/Makefile Fri Jul 4 22:08:14 2014 (r360670) +++ head/security/lasso/Makefile Fri Jul 4 22:17:11 2014 (r360671) @@ -23,7 +23,7 @@ USE_LDCONFIG= yes USE_OPENSSL= yes USE_PYTHON_BUILD= yes -OPTIONS_DEFINE= PERL PHP PYTHON +OPTIONS_DEFINE= PERL PHP PYTHON DOCS .include @@ -60,8 +60,5 @@ PLIST_SUB+= WITH_PYTHON="@comment " post-install: ${RM} -f ${STAGEDIR}${PREFIX}/lib/perl5/${PERL_VER}/${PERL_ARCH}/perllocal.pod -.ifdef(NOPORTDOCS) - ${RM} -rf ${STAGEDIR}${DOCSDIR} -.endif .include Modified: head/security/mindterm-binary/Makefile ============================================================================== --- head/security/mindterm-binary/Makefile Fri Jul 4 22:08:14 2014 (r360670) +++ head/security/mindterm-binary/Makefile Fri Jul 4 22:17:11 2014 (r360671) @@ -19,18 +19,18 @@ NO_WRKSUBDIR= yes NO_BUILD= yes NO_CDROM= Do not sell for profit +OPTIONS_DEFINE= DOCS + post-extract: - @${CP} ${DISTDIR}/mindterm-ssh.html ${WRKSRC} - @${MV} ${WRKSRC}/mindtermfull.jar ${WRKSRC}/mindterm.jar + ${CP} ${DISTDIR}/mindterm-ssh.html ${WRKSRC} + ${MV} ${WRKSRC}/mindtermfull.jar ${WRKSRC}/mindterm.jar do-install: @${MKDIR} ${STAGEDIR}${PREFIX}/share/java/mindterm - @${INSTALL_DATA} ${WRKSRC}/mindterm.jar ${STAGEDIR}${PREFIX}/share/java/mindterm/ -.if !defined(NOPORTDOCS) + ${INSTALL_DATA} ${WRKSRC}/mindterm.jar ${STAGEDIR}${PREFIX}/share/java/mindterm/ @${MKDIR} ${STAGEDIR}${DOCSDIR} .for DOC in CHANGES FAQ FEATURES PLATFORMS TODO mindterm-ssh.html - @${INSTALL_DATA} ${WRKSRC}/${DOC} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/${DOC} ${STAGEDIR}${DOCSDIR} .endfor -.endif .include Modified: head/security/mussh/Makefile ============================================================================== --- head/security/mussh/Makefile Fri Jul 4 22:08:14 2014 (r360670) +++ head/security/mussh/Makefile Fri Jul 4 22:17:11 2014 (r360671) @@ -17,19 +17,19 @@ PORTDOCS= BUGS CHANGES EXAMPLES README PLIST_FILES= bin/mussh WRKSRC= ${WRKDIR}/${PORTNAME} +OPTIONS_DEFINE= DOCS + post-patch: - @${REINPLACE_CMD} -e "s,^#!/bin/bash,#!/usr/bin/env bash,g" \ + ${REINPLACE_CMD} -e "s,^#!/bin/bash,#!/usr/bin/env bash,g" \ -e "s,seq 1 ,jot 1 ,g" \ ${WRKSRC}/${PORTNAME} do-install: @${MKDIR} ${STAGEDIR}${PREFIX}/bin ${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/${PORTNAME} -.if !defined(NOPORTDOCS) @${MKDIR} ${STAGEDIR}${DOCSDIR} .for f in ${PORTDOCS} ${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR} .endfor -.endif .include Modified: head/security/opensaml2/Makefile ============================================================================== --- head/security/opensaml2/Makefile Fri Jul 4 22:08:14 2014 (r360670) +++ head/security/opensaml2/Makefile Fri Jul 4 22:17:11 2014 (r360671) @@ -24,13 +24,17 @@ CONFIGURE_ARGS+=--with-log4shib=${LOCALB USES= gmake pkgconfig USE_LDCONFIG= yes +OPTIONS_DEFINE= DOCS + +.include + post-patch: @${REINPLACE_CMD} -e 's,^pkgdocdir.*=.*,pkgdocdir = ${DOCSDIR},' \ ${WRKSRC}/doc/Makefile.in @${REINPLACE_CMD} -e 's|echo aout|echo elf|g' \ ${WRKSRC}/configure -.if defined(NOPORTDOCS) +.if empty(PORT_OPTIONS:MDOCS) @${REINPLACE_CMD} -e '/^SUBDIRS/s,doc ,,' ${WRKSRC}/Makefile.in .endif Modified: head/security/outguess/Makefile ============================================================================== --- head/security/outguess/Makefile Fri Jul 4 22:08:14 2014 (r360670) +++ head/security/outguess/Makefile Fri Jul 4 22:17:11 2014 (r360671) @@ -20,15 +20,15 @@ GNU_CONFIGURE= yes WRKSRC= ${WRKDIR}/outguess PORTDOCS= ChangeLog README STIRMARK-README TODO +OPTIONS_DEFINE= DOCS + do-install: ${INSTALL_PROGRAM} ${WRKSRC}/outguess ${STAGEDIR}${PREFIX}/bin ${LN} -sf outguess ${STAGEDIR}${PREFIX}/bin/extract ${INSTALL_MAN} ${WRKSRC}/outguess.1 ${STAGEDIR}${PREFIX}/man/man1 -.if !defined(NOPORTDOCS) ${MKDIR} ${STAGEDIR}${DOCSDIR} .for i in ${PORTDOCS} ${INSTALL_DATA} ${WRKSRC}/${i} ${STAGEDIR}${DOCSDIR} .endfor -.endif .include Modified: head/security/p5-Filter-CBC/Makefile ============================================================================== --- head/security/p5-Filter-CBC/Makefile Fri Jul 4 22:08:14 2014 (r360670) +++ head/security/p5-Filter-CBC/Makefile Fri Jul 4 22:17:11 2014 (r360671) @@ -19,11 +19,11 @@ PLIST_SUB= EXAMPLESDIR="share/examples/$ USES= perl5 USE_PERL5= configure +OPTIONS_DEFINE= EXAMPLES + post-install: -.ifndef(NOPORTEXAMPLES) @${ECHO_MSG} "===> Installing examples for ${PKGNAME}" @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} ${INSTALL_SCRIPT} ${WRKSRC}/examples/* ${STAGEDIR}${EXAMPLESDIR} -.endif .include Modified: head/security/pam_pwdfile/Makefile ============================================================================== --- head/security/pam_pwdfile/Makefile Fri Jul 4 22:08:14 2014 (r360670) +++ head/security/pam_pwdfile/Makefile Fri Jul 4 22:17:11 2014 (r360671) @@ -16,16 +16,16 @@ PLIST_FILES= lib/pam_pwdfile.so PORTDOCS= README INSTALL changelog CFLAGS+= -I${WRKSRC} +OPTIONS_DEFINE= DOCS + post-patch: ${REINPLACE_CMD} -e 's|#include ||g' ${WRKSRC}/pam_pwdfile.c ${CP} ${FILESDIR}/_pam_macros.h ${WRKSRC} post-install: -.if !defined(NOPORTDOCS) @${MKDIR} ${STAGEDIR}${DOCSDIR} .for docs in ${PORTDOCS} @${INSTALL_DATA} ${WRKSRC}/${docs} ${STAGEDIR}${DOCSDIR} .endfor -.endif .include Modified: head/security/py-gnutls/Makefile ============================================================================== --- head/security/py-gnutls/Makefile Fri Jul 4 22:08:14 2014 (r360670) +++ head/security/py-gnutls/Makefile Fri Jul 4 22:17:11 2014 (r360671) @@ -19,15 +19,15 @@ PYDISTUTILS_PKGNAME= python_gnutls EXAMPLESDIR= ${PREFIX}/share/examples/py-${PORTNAME} +OPTIONS_DEFINE= EXAMPLES + post-patch: ${REINPLACE_CMD} -e "s|include_dirs=.*|include_dirs=\['${LOCALBASE}/include'\],|" ${WRKSRC}/setup.py ${REINPLACE_CMD} -e "s|library_dirs=.*|library_dirs=\['${LOCALBASE}/lib'\],|" ${WRKSRC}/setup.py ${REINPLACE_CMD} -e "s|\.26||g" ${WRKSRC}/gnutls/library/functions.py -.if !defined(NOPORTEXAMPLES) post-install: @${MKDIR} ${STAGEDIR}/${EXAMPLESDIR} ${CP} -R ${WRKSRC}/examples/ ${STAGEDIR}/${EXAMPLESDIR} -.endif .include Modified: head/security/skipfish/Makefile ============================================================================== --- head/security/skipfish/Makefile Fri Jul 4 22:08:14 2014 (r360670) +++ head/security/skipfish/Makefile Fri Jul 4 22:17:11 2014 (r360671) @@ -20,11 +20,9 @@ LIB_DEPENDS= idn:${PORTSDIR}/dns/libidn USES= gmake SUB_FILES= pkg-message -.if !defined(NOPORTDOCS) -PORTDOCS= README COPYING ChangeLog -.endif +OPTIONS_DEFINE= DOCS -.include +PORTDOCS= README COPYING ChangeLog post-patch: @${REINPLACE_CMD} -e 's:"skipfish.wl":"${DATADIR}/dictionaries/complete.wl":' \ @@ -36,11 +34,9 @@ do-install: ${INSTALL_MAN} ${WRKSRC}/doc/skipfish.1 ${STAGEDIR}${PREFIX}/man/man1 (cd ${WRKSRC}/assets/ && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR}/assets/) (cd ${WRKSRC}/dictionaries/ && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR}/dictionaries/) -.if !defined(NOPORTDOCS) ${MKDIR} ${STAGEDIR}${DOCSDIR} . for doc in ${PORTDOCS} ${INSTALL_DATA} ${WRKSRC}/${doc} ${STAGEDIR}${DOCSDIR} . endfor -.endif -.include +.include Modified: head/security/sqlninja/Makefile ============================================================================== --- head/security/sqlninja/Makefile Fri Jul 4 22:08:14 2014 (r360670) +++ head/security/sqlninja/Makefile Fri Jul 4 22:17:11 2014 (r360671) @@ -21,6 +21,8 @@ RUN_DEPENDS= p5-IO-Socket-SSL>=0:${PORTS USES= perl5 NO_BUILD= yes +OPTIONS_DEFINE= DOCS + do-install: ${MKDIR} ${STAGEDIR}${ETCDIR} ${MKDIR} ${STAGEDIR}${ETCDIR}/scripts @@ -34,11 +36,9 @@ do-install: . for i in churrasco.exe dnstun.exe nc.exe ${INSTALL_SCRIPT} ${WRKSRC}/apps/${i} ${STAGEDIR}${ETCDIR}/apps . endfor -.if !defined(NOPORTDOCS) ${MKDIR} ${STAGEDIR}${DOCSDIR} . for i in sqlninja-howto.html sqlninja.conf.example ${INSTALL_DATA} ${WRKSRC}/${i} ${STAGEDIR}${DOCSDIR} . endfor -.endif .include Modified: head/security/webscarab/Makefile ============================================================================== --- head/security/webscarab/Makefile Fri Jul 4 22:08:14 2014 (r360670) +++ head/security/webscarab/Makefile Fri Jul 4 22:17:11 2014 (r360671) @@ -20,6 +20,8 @@ DATADIR= ${JAVASHAREDIR}/${PORTNAME} PORTDOCS= README LICENSE ChangeLog +OPTIONS_DEFINE= DOCS + .include post-extract: @@ -37,11 +39,9 @@ do-install: ${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.jar ${STAGEDIR}${DATADIR} ${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/${PORTNAME} ${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/${PORTNAME}_lite -.if !defined(NOPORTDOCS) @${MKDIR} ${STAGEDIR}${DOCSDIR} . for i in ${PORTDOCS} ${INSTALL_DATA} ${WRKSRC}/${i} ${STAGEDIR}${DOCSDIR} . endfor -.endif .include