From owner-svn-ports-head@FreeBSD.ORG Tue Mar 25 15:20:35 2014 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 463D57F6; Tue, 25 Mar 2014 15:20:35 +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)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 2886FAE9; Tue, 25 Mar 2014 15:20:35 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s2PFKZtS048880; Tue, 25 Mar 2014 15:20:35 GMT (envelope-from mat@svn.freebsd.org) Received: (from mat@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s2PFKYM8048875; Tue, 25 Mar 2014 15:20:34 GMT (envelope-from mat@svn.freebsd.org) Message-Id: <201403251520.s2PFKYM8048875@svn.freebsd.org> From: Mathieu Arnold Date: Tue, 25 Mar 2014 15:20:34 +0000 (UTC) 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 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.17 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: Tue, 25 Mar 2014 15:20:35 -0000 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 +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 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 +