1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-23 00:43:28 +00:00

- use PORTDOCS and PORTEXAMPLES as it should

- bump PORTREVISION

Submitted by:	my QA Tindy run
This commit is contained in:
Ion-Mihai Tetcu 2008-06-13 15:30:08 +00:00
parent 37bcd0d237
commit 11b03e21dc
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=214785
3 changed files with 32 additions and 5 deletions

View File

@ -7,6 +7,7 @@
PORTNAME= SGMLSpm
PORTVERSION= 1.03
PORTREVISION= 1
CATEGORIES= textproc perl5
MASTER_SITES= CPAN
MASTER_SITE_SUBDIR= SGMLS
@ -20,10 +21,24 @@ USE_PERL5_RUN= yes
NO_BUILD= yes
WRKSRC= ${WRKDIR}/${PORTNAME}
pre-su-install:
${MKDIR} ${DOCSDIR} ${EXAMPLESDIR}
INSTALL_TARGET= install PERL5DIR=${SITE_PERL} SPECDIR=${EXAMPLESDIR}
.ifndef(NOPORTDOCS)
PORTDOCS= *
INSTALL_TARGET+=docs install_html HTMLDIR=${DOCSDIR}
.endif
.ifdef(NOPORTEXAMPLES)
EXTRA_PATCHES= ${PATCHDIR}/noportexamples-patch-Makefile
.endif
pre-su-install:
.ifndef(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
.endif
.ifndef(NOPORTEXAMPLES)
${MKDIR} ${EXAMPLESDIR}
.endif
.ifndef(NOPORTDOCS)
PORTDOCS= *
INSTALL_TARGET+=docs install_html HTMLDIR=${DOCSDIR}

View File

@ -0,0 +1,12 @@
--- ./Makefile.orig 2008-06-13 18:15:13.832720857 +0300
+++ ./Makefile 2008-06-13 18:15:23.574652218 +0300
@@ -41,8 +41,7 @@
FILES = ${BINDIR}/sgmlspl \
${PERL5DIR}/SGMLS.pm \
${MODULEDIR}/Output.pm \
- ${MODULEDIR}/Refs.pm \
- ${SPECDIR}/skel.pl
+ ${MODULEDIR}/Refs.pm
all: install docs

View File

@ -2,6 +2,6 @@ bin/sgmlspl
%%SITE_PERL%%/SGMLS.pm
%%SITE_PERL%%/SGMLS/Output.pm
%%SITE_PERL%%/SGMLS/Refs.pm
%%EXAMPLESDIR%%/skel.pl
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/skel.pl
@dirrm %%SITE_PERL%%/SGMLS
@dirrm %%EXAMPLESDIR%%
%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%