Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 25 Aug 2011 03:39:19 +0900
From:      KATO Tsuguru <tkato432@yahoo.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/160151: Update port: textproc/prosper
Message-ID:  <20110825033919.98f91957.tkato432@yahoo.com>
Resent-Message-ID: <201108241850.p7OIoewg014932@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         160151
>Category:       ports
>Synopsis:       Update port: textproc/prosper
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed Aug 24 18:50:39 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator:     KATO Tsuguru
>Release:        FreeBSD 7.4-RELEASE-p2 i386
>Organization:
>Environment:
>Description:
- Fix MASTER_SITES
- Support NOPORTEXAMPLES

>How-To-Repeat:
>Fix:

diff -urN /usr/ports/textproc/prosper/Makefile textproc/prosper/Makefile
--- /usr/ports/textproc/prosper/Makefile	2010-03-28 17:46:46.000000000 +0900
+++ textproc/prosper/Makefile	2011-08-11 23:01:57.000000000 +0900
@@ -9,8 +9,10 @@
 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 @@
 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 @@
 	@${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 -urN /usr/ports/textproc/prosper/pkg-plist textproc/prosper/pkg-plist
--- /usr/ports/textproc/prosper/pkg-plist	2006-11-08 13:32:07.000000000 +0900
+++ textproc/prosper/pkg-plist	2011-08-11 22:52:47.000000000 +0900
@@ -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%%
>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20110825033919.98f91957.tkato432>