Hello. I have patched tex-prosper to, optionally, include the collection of contributed styles [1]. Since this is my first major maintenance on a package, I appreciate any and all feedback. This patch will add a seperate PLIST.contrib which is added to PLIST_SRC if the 'prosper-contrib' package option is specified. Is this the preferred method of adding files to a package? Or should these files be put in the PLIST file and commented/uncommented with PLIST_SUBST? Thanks. [1] http://sourceforge.net/project/showfiles.php?group_id=14812&package_id=97791 -- .oliver
Common subdirectories: /usr/pkgsrc/print/tex-prosper/CVS and tex-prosper/CVS
diff -N /usr/pkgsrc/print/tex-prosper/Makefile tex-prosper/Makefile
6c6
< PKGREVISION= 4
---
> PKGREVISION= 5
27a28,31
> CONTRIB_NAME= contrib-prosper-1.0.0
>
> .include "options.mk"
> .include "../../mk/bsd.prefs.mk"
32a37,39
> . if !empty(PKG_OPTIONS:Mprosper-contrib)
> ${CP} -r ${WRKDIR}/${CONTRIB_NAME}/* ${WRKSRC}/contrib
> . endif
diff -N /usr/pkgsrc/print/tex-prosper/PLIST.contrib tex-prosper/PLIST.contrib
0a1,32
> ${PKG_LOCALTEXMFPREFIX}/tex/latex/prosper/contrib/PPRcapsules.sty
> ${PKG_LOCALTEXMFPREFIX}/tex/latex/prosper/contrib/PPRcorners.sty
> ${PKG_LOCALTEXMFPREFIX}/tex/latex/prosper/contrib/PPRfyma.sty
> ${PKG_LOCALTEXMFPREFIX}/tex/latex/prosper/contrib/PPRgyom2.sty
> ${PKG_LOCALTEXMFPREFIX}/tex/latex/prosper/contrib/PPRmancini.sty
> ${PKG_LOCALTEXMFPREFIX}/tex/latex/prosper/contrib/PPRprettybox.sty
> ${PKG_LOCALTEXMFPREFIX}/tex/latex/prosper/contrib/PPRserpaggi.sty
> ${PKG_LOCALTEXMFPREFIX}/tex/latex/prosper/contrib/PPRthomasd.sty
> ${PKG_LOCALTEXMFPREFIX}/tex/latex/prosper/contrib/PPRwhitecross.sty
> ${PKG_LOCALTEXMFPREFIX}/tex/latex/prosper/contrib/PPRwinter.sty
> ${PKG_LOCALTEXMFPREFIX}/tex/latex/prosper/contrib/PPRwj.sty
> ${PKG_LOCALTEXMFPREFIX}/tex/latex/prosper/contrib/img/blue-inverted-arrow.ps
> ${PKG_LOCALTEXMFPREFIX}/tex/latex/prosper/contrib/img/boule-base.eps
> ${PKG_LOCALTEXMFPREFIX}/tex/latex/prosper/contrib/img/boulebleue-fondblanc.eps
> ${PKG_LOCALTEXMFPREFIX}/tex/latex/prosper/contrib/img/boulerouge-fondblanc.eps
> ${PKG_LOCALTEXMFPREFIX}/tex/latex/prosper/contrib/img/bouleverte-fondblanc.eps
> ${PKG_LOCALTEXMFPREFIX}/tex/latex/prosper/contrib/img/degrade-base.eps
> ${PKG_LOCALTEXMFPREFIX}/tex/latex/prosper/contrib/img/degrade-blanc-bleu.eps
> ${PKG_LOCALTEXMFPREFIX}/tex/latex/prosper/contrib/img/green-bullet-on-blue-wc.gif
> ${PKG_LOCALTEXMFPREFIX}/tex/latex/prosper/contrib/img/green-bullet-on-blue-wc.ps
> ${PKG_LOCALTEXMFPREFIX}/tex/latex/prosper/contrib/img/green-bullet-on-white.gif
> ${PKG_LOCALTEXMFPREFIX}/tex/latex/prosper/contrib/img/green-bullet-on-white.ps
> ${PKG_LOCALTEXMFPREFIX}/tex/latex/prosper/contrib/img/green-inverted-arrow.ps
> ${PKG_LOCALTEXMFPREFIX}/tex/latex/prosper/contrib/img/red-bullet-on-blue-wc.gif
> ${PKG_LOCALTEXMFPREFIX}/tex/latex/prosper/contrib/img/red-bullet-on-blue-wc.ps
> ${PKG_LOCALTEXMFPREFIX}/tex/latex/prosper/contrib/img/red-bullet-on-white.gif
> ${PKG_LOCALTEXMFPREFIX}/tex/latex/prosper/contrib/img/red-bullet-on-white.ps
> ${PKG_LOCALTEXMFPREFIX}/tex/latex/prosper/contrib/img/red-inverted-arrow.ps
> ${PKG_LOCALTEXMFPREFIX}/tex/latex/prosper/contrib/img/yellow-bullet-on-blue-wc.gif
> ${PKG_LOCALTEXMFPREFIX}/tex/latex/prosper/contrib/img/yellow-bullet-on-blue-wc.ps
> ${PKG_LOCALTEXMFPREFIX}/tex/latex/prosper/contrib/img/yellow-bullet-on-white.gif
> ${PKG_LOCALTEXMFPREFIX}/tex/latex/prosper/contrib/img/yellow-bullet-on-white.ps
diff -N /usr/pkgsrc/print/tex-prosper/distinfo tex-prosper/distinfo
3,5d2
< SHA1 (prosper-1.00.4.tar.gz) = 42ffa133b036d9fc022f6db8642be0f2e5c6459c
< RMD160 (prosper-1.00.4.tar.gz) = 4fda597fb0666acffef5095486ef4b035e86611a
< Size (prosper-1.00.4.tar.gz) = 768604 bytes
8a6,11
> SHA1 (contrib-prosper-1.0.0.tar.gz) = c11be0efd4cd6734d6f30de03f5fb62c8f24dc92
> RMD160 (contrib-prosper-1.0.0.tar.gz) =
> d819cd6ddb3a47e31f4ab6bc85974a104bf193bc
> Size (contrib-prosper-1.0.0.tar.gz) = 78708 bytes
> SHA1 (prosper-1.00.4.tar.gz) = 42ffa133b036d9fc022f6db8642be0f2e5c6459c
> RMD160 (prosper-1.00.4.tar.gz) = 4fda597fb0666acffef5095486ef4b035e86611a
> Size (prosper-1.00.4.tar.gz) = 768604 bytes
diff -N /usr/pkgsrc/print/tex-prosper/options.mk tex-prosper/options.mk
0a1,14
> # $NetBSD:$
> #
>
> PKG_OPTIONS_VAR= PKG_OPTIONS.tex-prosper
> PKG_SUPPORTED_OPTIONS= prosper-contrib
> PKG_SUGGESTED_OPTIONS= prosper-contrib
>
> .include "../../mk/bsd.options.mk"
>
> .if !empty(PKG_OPTIONS:Mprosper-contrib)
> DISTFILES+= ${CONTRIB_NAME}${EXTRACT_SUFX}
> PLIST_SRC+= PLIST.contrib
> .endif
>
Attachment:
pgp00BVoIYjGH.pgp
Description: PGP signature