Subject: tex-prosper patch
To: None <minskim@netbsd.org>
From: oliver gould <ogould@cs.stevens.edu>
List: pkgsrc-users
Date: 08/24/2006 09:12:39
--hYooF8G/hrfVAmum
Content-Type: multipart/mixed; boundary="JYK4vJDZwFMowpUq"
Content-Disposition: inline


--JYK4vJDZwFMowpUq
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

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=3D14812&package_i=
d=3D97791

--=20
  .oliver

--JYK4vJDZwFMowpUq
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="tex-prosper.diff"
Content-Transfer-Encoding: quoted-printable

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=3D	4
---
> PKGREVISION=3D	5
27a28,31
> CONTRIB_NAME=3D	contrib-prosper-1.0.0
>=20
> .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.contr=
ib
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-fondblan=
c.eps
> ${PKG_LOCALTEXMFPREFIX}/tex/latex/prosper/contrib/img/boulerouge-fondblan=
c.eps
> ${PKG_LOCALTEXMFPREFIX}/tex/latex/prosper/contrib/img/bouleverte-fondblan=
c.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-blu=
e-wc.gif
> ${PKG_LOCALTEXMFPREFIX}/tex/latex/prosper/contrib/img/green-bullet-on-blu=
e-wc.ps
> ${PKG_LOCALTEXMFPREFIX}/tex/latex/prosper/contrib/img/green-bullet-on-whi=
te.gif
> ${PKG_LOCALTEXMFPREFIX}/tex/latex/prosper/contrib/img/green-bullet-on-whi=
te.ps
> ${PKG_LOCALTEXMFPREFIX}/tex/latex/prosper/contrib/img/green-inverted-arro=
w.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-bl=
ue-wc.gif
> ${PKG_LOCALTEXMFPREFIX}/tex/latex/prosper/contrib/img/yellow-bullet-on-bl=
ue-wc.ps
> ${PKG_LOCALTEXMFPREFIX}/tex/latex/prosper/contrib/img/yellow-bullet-on-wh=
ite.gif
> ${PKG_LOCALTEXMFPREFIX}/tex/latex/prosper/contrib/img/yellow-bullet-on-wh=
ite.ps
diff -N /usr/pkgsrc/print/tex-prosper/distinfo tex-prosper/distinfo
3,5d2
< SHA1 (prosper-1.00.4.tar.gz) =3D 42ffa133b036d9fc022f6db8642be0f2e5c6459c
< RMD160 (prosper-1.00.4.tar.gz) =3D 4fda597fb0666acffef5095486ef4b035e8661=
1a
< Size (prosper-1.00.4.tar.gz) =3D 768604 bytes
8a6,11
> SHA1 (contrib-prosper-1.0.0.tar.gz) =3D c11be0efd4cd6734d6f30de03f5fb62c8=
f24dc92
> RMD160 (contrib-prosper-1.0.0.tar.gz) =3D d819cd6ddb3a47e31f4ab6bc85974a1=
04bf193bc
> Size (contrib-prosper-1.0.0.tar.gz) =3D 78708 bytes
> SHA1 (prosper-1.00.4.tar.gz) =3D 42ffa133b036d9fc022f6db8642be0f2e5c6459c
> RMD160 (prosper-1.00.4.tar.gz) =3D 4fda597fb0666acffef5095486ef4b035e8661=
1a
> Size (prosper-1.00.4.tar.gz) =3D 768604 bytes
diff -N /usr/pkgsrc/print/tex-prosper/options.mk tex-prosper/options.mk
0a1,14
> # $NetBSD:$
> #
>=20
> PKG_OPTIONS_VAR=3D	PKG_OPTIONS.tex-prosper
> PKG_SUPPORTED_OPTIONS=3D	prosper-contrib
> PKG_SUGGESTED_OPTIONS=3D	prosper-contrib
>=20
> .include "../../mk/bsd.options.mk"
>=20
> .if !empty(PKG_OPTIONS:Mprosper-contrib)
> DISTFILES+=3D	${CONTRIB_NAME}${EXTRACT_SUFX}
> PLIST_SRC+=3D	PLIST.contrib
> .endif
>=20

--JYK4vJDZwFMowpUq--

--hYooF8G/hrfVAmum
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (NetBSD)

iD8DBQFE7aXHNtBooygWxWcRAhANAJ9mQCt8TkFy/pd+vUMGS2HsdecOJQCg3sUf
9dvRfbZadyGi7v9zVM6nFQ0=
=ICkS
-----END PGP SIGNATURE-----

--hYooF8G/hrfVAmum--