aboutsummaryrefslogtreecommitdiff
path: root/textproc
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2011-08-26 04:30:26 +0000
committerMartin Wilke <miwi@FreeBSD.org>2011-08-26 04:30:26 +0000
commit3756d31b30991f9356a8d504e8900ea8ace7d7df (patch)
treebaa3b3aa21bc21c6b60ab5124abfbff90055dd83 /textproc
parentbf147adc3862d889bfe7bbacc53325860b2e251b (diff)
downloadports-3756d31b30991f9356a8d504e8900ea8ace7d7df.tar.gz
ports-3756d31b30991f9356a8d504e8900ea8ace7d7df.zip
Notes
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%%