Index: Makefile =================================================================== --- Makefile (revision 321142) +++ Makefile (working copy) @@ -1,9 +1,5 @@ -# New ports collection makefile for: SGMLSpm -# Date created: 4 May 2004 -# Whom: Brian Candler -# +# Created by: Brian Candler # $FreeBSD$ -# PORTNAME= SGMLSpm PORTVERSION= 1.03 @@ -14,35 +10,38 @@ PKGNAMEPREFIX= p5- DISTNAME= ${PORTNAME}-${PORTVERSION}ii -MAINTAINER= ports@FreeBSD.org +MAINTAINER= perl@FreeBSD.org COMMENT= Perl module for postprocessing the output from sgmls and nsgmls USE_PERL5_RUN= yes +USES= shebangfix NO_BUILD= yes WRKSRC= ${WRKDIR}/${PORTNAME} +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} -.ifndef(NOPORTDOCS) +.include + +.if ${PORT_OPTIONS:MDOCS} PORTDOCS= * INSTALL_TARGET+=docs install_html HTMLDIR=${DOCSDIR} .endif -.ifdef(NOPORTEXAMPLES) + +.if ${PORT_OPTIONS:MEXAMPLES} EXTRA_PATCHES= ${PATCHDIR}/noportexamples-patch-Makefile .endif pre-su-install: -.ifndef(NOPORTDOCS) +.if ${PORT_OPTIONS:MDOCS} ${MKDIR} ${DOCSDIR} .endif -.ifndef(NOPORTEXAMPLES) +.if ${PORT_OPTIONS:MEXAMPLES} ${MKDIR} ${EXAMPLESDIR} .endif -.ifndef(NOPORTDOCS) -PORTDOCS= * -INSTALL_TARGET+=docs install_html HTMLDIR=${DOCSDIR} -.endif - .include Property changes on: Makefile ___________________________________________________________________ Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property