aboutsummaryrefslogtreecommitdiffstats
path: root/textproc
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2011-08-26 12:30:26 +0800
committermiwi <miwi@FreeBSD.org>2011-08-26 12:30:26 +0800
commit8233ce8bed82868f7e58f5572a8e44d00f3f7200 (patch)
tree085dbda549ef9c7e457a3b30db8f22b557414d64 /textproc
parent0c33ba8dc9049c01c0122d6affb7631f1c5cc360 (diff)
downloadfreebsd-ports-gnome-8233ce8bed82868f7e58f5572a8e44d00f3f7200.tar.gz
freebsd-ports-gnome-8233ce8bed82868f7e58f5572a8e44d00f3f7200.tar.zst
freebsd-ports-gnome-8233ce8bed82868f7e58f5572a8e44d00f3f7200.zip
- Fix MASTER_SITES
- Support NOPORTEXAMPLES PR: 160151 Submitted by: Ports Fury
Diffstat (limited to 'textproc')
-rw-r--r--textproc/prosper/Makefile11
-rw-r--r--textproc/prosper/pkg-plist46
2 files changed, 31 insertions, 26 deletions
diff --git a/textproc/prosper/Makefile b/textproc/prosper/Makefile
index cc8721aa1550..4e6c3f01110c 100644
--- a/textproc/prosper/Makefile
+++ b/textproc/prosper/Makefile
@@ -9,8 +9,10 @@ PORTNAME= prosper
PORTVERSION= 1.00.4
PORTREVISION= 9
CATEGORIES= textproc
-MASTER_SITES= SF
-DISTFILES= ${DISTNAME}${EXTRACT_SUFX} contrib-prosper-1.0.0.tar.gz
+MASTER_SITES= SF \
+ SF/${PORTNAME}/contributed%20styles/1.0.0:contrib
+DISTFILES= ${DISTNAME}${EXTRACT_SUFX} \
+ contrib-prosper-1.0.0.tar.gz:contrib
MAINTAINER= ports@FreeBSD.org
COMMENT= LaTeX class for writing transparencies
@@ -40,7 +42,8 @@ DOCS= AUTHORS ChangeLog FAQ INSTALL NEWS README TODO \
EXAMPLES_DIR= doc/doc-examples
post-extract:
- @${CP} -r ${WRKDIR}/contrib-prosper-1.0.0/* ${WRKSRC}/contrib/
+ @(cd ${WRKDIR}/contrib-prosper-1.0.0 && ${FIND} . | \
+ ${CPIO} --quiet -dump ${WRKSRC}/contrib)
do-install:
@${MKDIR} ${PROSPERDIR}/contrib/img
@@ -63,6 +66,8 @@ do-install:
@${INSTALL_DATA} ${WRKSRC}/${FILE} ${DOCSDIR}
.endfor
@${ECHO_MSG} "===> Documentation installed in ${DOCSDIR}."
+.endif
+.if !defined(NOPORTEXAMPLES)
@${MKDIR} ${EXAMPLESDIR}
.for FILE in ${EXAMPLES_DIR}/Example*
@${INSTALL_DATA} ${WRKSRC}/${FILE} ${EXAMPLESDIR}
diff --git a/textproc/prosper/pkg-plist b/textproc/prosper/pkg-plist
index f801f928159c..30eaafb3eac0 100644
--- a/textproc/prosper/pkg-plist
+++ b/textproc/prosper/pkg-plist
@@ -17,25 +17,25 @@
%%PORTDOCS%%%%DOCSDIR%%/prosper-tour.tex
%%PORTDOCS%%%%DOCSDIR%%/rotation.ps
%%PORTDOCS%%%%DOCSDIR%%/rotation.tex
-%%PORTDOCS%%%%EXAMPLESDIR%%/Example.tex
-%%PORTDOCS%%%%EXAMPLESDIR%%/ExampleAlienglow.ps
-%%PORTDOCS%%%%EXAMPLESDIR%%/ExampleAlienglow.tex
-%%PORTDOCS%%%%EXAMPLESDIR%%/ExampleAutumn.ps
-%%PORTDOCS%%%%EXAMPLESDIR%%/ExampleAutumn.tex
-%%PORTDOCS%%%%EXAMPLESDIR%%/ExampleAzure.ps
-%%PORTDOCS%%%%EXAMPLESDIR%%/ExampleAzure.tex
-%%PORTDOCS%%%%EXAMPLESDIR%%/ExampleContemporain.ps
-%%PORTDOCS%%%%EXAMPLESDIR%%/ExampleContemporain.tex
-%%PORTDOCS%%%%EXAMPLESDIR%%/ExampleDarkblue.ps
-%%PORTDOCS%%%%EXAMPLESDIR%%/ExampleDarkblue.tex
-%%PORTDOCS%%%%EXAMPLESDIR%%/ExampleFrames.ps
-%%PORTDOCS%%%%EXAMPLESDIR%%/ExampleFrames.tex
-%%PORTDOCS%%%%EXAMPLESDIR%%/ExampleLignesbleues.ps
-%%PORTDOCS%%%%EXAMPLESDIR%%/ExampleLignesbleues.tex
-%%PORTDOCS%%%%EXAMPLESDIR%%/ExampleNuanceGris.ps
-%%PORTDOCS%%%%EXAMPLESDIR%%/ExampleNuanceGris.tex
-%%PORTDOCS%%%%EXAMPLESDIR%%/ExampleTroisPoints.ps
-%%PORTDOCS%%%%EXAMPLESDIR%%/ExampleTroisPoints.tex
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/Example.tex
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/ExampleAlienglow.ps
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/ExampleAlienglow.tex
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/ExampleAutumn.ps
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/ExampleAutumn.tex
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/ExampleAzure.ps
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/ExampleAzure.tex
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/ExampleContemporain.ps
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/ExampleContemporain.tex
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/ExampleDarkblue.ps
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/ExampleDarkblue.tex
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/ExampleFrames.ps
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/ExampleFrames.tex
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/ExampleLignesbleues.ps
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/ExampleLignesbleues.tex
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/ExampleNuanceGris.ps
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/ExampleNuanceGris.tex
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/ExampleTroisPoints.ps
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/ExampleTroisPoints.tex
%%PROSPERDIR%%/contrib/img/angleHG.ps
%%PROSPERDIR%%/contrib/img/barre-rico.ps
%%PROSPERDIR%%/contrib/img/blue-inverted-arrow.ps
@@ -111,12 +111,12 @@
%%PROSPERDIR%%/PPRnuancegris.sty
%%PROSPERDIR%%/PPRtroispoints.sty
%%PROSPERDIR%%/prosper.cls
-%%PORTDOCS%%@dirrm %%DOCSDIR%%
-%%PORTDOCS%%@dirrm %%EXAMPLESDIR%%
+@dirrm %%PROSPERDIR%%/img
+@dirrm %%PROSPERDIR%%/designer
@dirrm %%PROSPERDIR%%/contrib/img
@dirrm %%PROSPERDIR%%/contrib
-@dirrm %%PROSPERDIR%%/designer
-@dirrm %%PROSPERDIR%%/img
@dirrm %%PROSPERDIR%%
+%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%
+%%PORTDOCS%%@dirrm %%DOCSDIR%%
@exec %%MKTEXLSR%%
@unexec %%MKTEXLSR%%