Date: Sat, 12 Oct 2013 16:33:59 +0000 (UTC) From: Joe Marcus Clarke <marcus@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r330137 - head/ports-mgmt/portlint Message-ID: <201310121633.r9CGXxhf019930@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: marcus Date: Sat Oct 12 16:33:59 2013 New Revision: 330137 URL: http://svnweb.freebsd.org/changeset/ports/330137 Log: * Support staging * Adjust COMMENT PR: 182919 Submitted by: bdrewery Modified: head/ports-mgmt/portlint/Makefile Modified: head/ports-mgmt/portlint/Makefile ============================================================================== --- head/ports-mgmt/portlint/Makefile Sat Oct 12 16:15:07 2013 (r330136) +++ head/ports-mgmt/portlint/Makefile Sat Oct 12 16:33:59 2013 (r330137) @@ -8,7 +8,7 @@ MASTER_SITES= # none DISTFILES= # none MAINTAINER= marcus@FreeBSD.org -COMMENT= A verifier for FreeBSD port directory +COMMENT= Verifier for FreeBSD port directory NO_BUILD= yes WRKSRC= ${WRKDIR}/src @@ -17,15 +17,16 @@ USE_PERL5= run SRC= ${.CURDIR}/src -MAN1= portlint.1 -PLIST_FILES= bin/portlint +PLIST_FILES= bin/portlint \ + man/man1/portlint.1.gz -.if !defined(NOPORTEXAMPLES) +.include <bsd.port.options.mk> + +.if ${PORT_OPTIONS:MEXAMPLES} PLIST_FILES+= %%EXAMPLESDIR%%/portlintgrep PLIST_DIRS= %%EXAMPLESDIR%% .endif -NO_STAGE= yes do-fetch: @${DO_NADA} @@ -38,11 +39,15 @@ post-patch: ${WRKSRC}/portlintgrep.pl do-install: - ${INSTALL_SCRIPT} ${WRKSRC}/portlint.pl ${PREFIX}/bin/portlint - ${INSTALL_MAN} ${WRKSRC}/portlint.1 ${MAN1PREFIX}/man/man1 -.if !defined(NOPORTEXAMPLES) - ${INSTALL} -o ${SHAREOWN} -g ${SHAREGRP} -m ${BINMODE} -d ${EXAMPLESDIR} - ${INSTALL_SCRIPT} ${WRKSRC}/portlintgrep.pl ${EXAMPLESDIR}/portlintgrep + ${INSTALL_SCRIPT} ${WRKSRC}/portlint.pl \ + ${STAGEDIR}${PREFIX}/bin/portlint + ${INSTALL_MAN} ${WRKSRC}/portlint.1 \ + ${STAGEDIR}${MAN1PREFIX}/man/man1 +.if ${PORT_OPTIONS:MEXAMPLES} + ${INSTALL} -o ${SHAREOWN} -g ${SHAREGRP} -m ${BINMODE} -d \ + ${STAGEDIR}${EXAMPLESDIR} + ${INSTALL_SCRIPT} ${WRKSRC}/portlintgrep.pl \ + ${STAGEDIR}${EXAMPLESDIR}/portlintgrep .endif .include <bsd.port.mk>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201310121633.r9CGXxhf019930>