Date: Tue, 25 Mar 2014 15:20:34 +0000 (UTC) From: Mathieu Arnold <mat@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r349153 - in head/textproc/p5-SGMLSpm: . files Message-ID: <201403251520.s2PFKYM8048875@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: mat Date: Tue Mar 25 15:20:34 2014 New Revision: 349153 URL: http://svnweb.freebsd.org/changeset/ports/349153 QAT: https://qat.redports.org/buildarchive/r349153/ Log: Support staging. Poked by: bapt Sponsored by: Absolight Deleted: head/textproc/p5-SGMLSpm/files/noportexamples-patch-Makefile Modified: head/textproc/p5-SGMLSpm/Makefile head/textproc/p5-SGMLSpm/files/patch-Makefile Modified: head/textproc/p5-SGMLSpm/Makefile ============================================================================== --- head/textproc/p5-SGMLSpm/Makefile Tue Mar 25 15:16:12 2014 (r349152) +++ head/textproc/p5-SGMLSpm/Makefile Tue Mar 25 15:20:34 2014 (r349153) @@ -3,16 +3,18 @@ PORTNAME= SGMLSpm PORTVERSION= 1.03 +DISTVERSIONSUFFIX= ii PORTREVISION= 1 CATEGORIES= textproc perl5 -MASTER_SITES= CPAN -MASTER_SITE_SUBDIR= SGMLS +MASTER_SITES= CPAN/SGMLS PKGNAMEPREFIX= p5- -DISTNAME= ${PORTNAME}-${PORTVERSION}ii MAINTAINER= perl@FreeBSD.org COMMENT= Perl module for postprocessing the output from sgmls and nsgmls +LICENSE= GPLv2 +LICENSE_FILE= ${WRKSRC}/COPYING + USE_PERL5= run USES= shebangfix perl5 NO_BUILD= yes @@ -22,30 +24,16 @@ SHEBANG_FILES= sgmlspl.pl \ DOC/HTML/SGMLSpm/sample.pl \ DOC/HTML/SGMLSpm/example.html -INSTALL_TARGET= install BINDIR=${PREFIX}/bin \ - PERL5DIR=${SITE_PERL} SPECDIR=${EXAMPLESDIR} - -NO_STAGE= yes +INSTALL_TARGET= install BINDIR=${STAGEDIR}${PREFIX}/bin \ + PERL5DIR=${STAGEDIR}${SITE_PERL} SPECDIR=${STAGEDIR}${EXAMPLESDIR} OPTIONS_DEFINE= DOCS EXAMPLES -.include <bsd.port.options.mk> +PORTDOCS= * + +DOCS_INSTALL_TARGET= docs install_html HTMLDIR=${STAGEDIR}${DOCSDIR} -.if ${PORT_OPTIONS:MDOCS} -PORTDOCS= * -INSTALL_TARGET+=docs install_html HTMLDIR=${DOCSDIR} -.endif - -.if ! ${PORT_OPTIONS:MEXAMPLES} -EXTRA_PATCHES= ${PATCHDIR}/noportexamples-patch-Makefile -.endif - -pre-su-install: -.if ${PORT_OPTIONS:MDOCS} - @${MKDIR} ${DOCSDIR} -.endif -.if ${PORT_OPTIONS:MEXAMPLES} - @${MKDIR} ${EXAMPLESDIR} -.endif +pre-install: + @${MKDIR} ${STAGEDIR}${DOCSDIR} ${STAGEDIR}${EXAMPLESDIR} .include <bsd.port.mk> Modified: head/textproc/p5-SGMLSpm/files/patch-Makefile ============================================================================== --- head/textproc/p5-SGMLSpm/files/patch-Makefile Tue Mar 25 15:16:12 2014 (r349152) +++ head/textproc/p5-SGMLSpm/files/patch-Makefile Tue Mar 25 15:20:34 2014 (r349153) @@ -1,5 +1,5 @@ ---- Makefile.orig Tue May 4 10:39:40 2004 -+++ Makefile Tue May 4 10:39:57 2004 +--- ./Makefile.orig 1995-12-05 13:26:11.000000000 +0100 ++++ ./Makefile 2014-03-25 15:52:27.000000000 +0100 @@ -36,7 +36,7 @@ # End of user options. # @@ -9,3 +9,12 @@ FILES = ${BINDIR}/sgmlspl \ ${PERL5DIR}/SGMLS.pm \ +@@ -62,7 +62,7 @@ + + ${MODULEDIR}: + if [ ! -d ${MODULEDIR} ]; then\ +- mkdir ${MODULEDIR}; \ ++ mkdir -p ${MODULEDIR}; \ + chmod a+x ${MODULEDIR}; \ + fi +
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201403251520.s2PFKYM8048875>