diff options
author | kei <kei@pkgsrc.org> | 2003-05-07 16:29:38 +0000 |
---|---|---|
committer | kei <kei@pkgsrc.org> | 2003-05-07 16:29:38 +0000 |
commit | 777057ef4f3fb6076fa2d38ec46d270f46eb7836 (patch) | |
tree | 7ccc9917233a6766b2e63862c4f5d8c932c3ea60 | |
parent | 72f3e86f51c78ce293e7e18e9ca2951c6c3bdf90 (diff) | |
download | pkgsrc-777057ef4f3fb6076fa2d38ec46d270f46eb7836.tar.gz |
applied three changes. It is a preparation for upcoming
phoenix-bin-acroread[35] packages. Bump PKGREVISION to 1.
- split Makefile into Makefile and Makefile.common. The latter will be
used by phoenixbin-acroread[35] packages. PLIST as well.
- changed the source place of plugin shared object file from
${PREFIX}/lib/netscape/plugins to
${PREFIX}/Acroread/Browsers/intellinux. PLIST as well.
- added CONFLICTS with phoenix-bin-acroread[35]-[0-9]*.
-rw-r--r-- | www/phoenix-bin-acroread/Makefile | 22 | ||||
-rw-r--r-- | www/phoenix-bin-acroread/Makefile.common | 25 | ||||
-rw-r--r-- | www/phoenix-bin-acroread/PLIST | 4 |
3 files changed, 33 insertions, 18 deletions
diff --git a/www/phoenix-bin-acroread/Makefile b/www/phoenix-bin-acroread/Makefile index aec7ca7d7f6..5784b085846 100644 --- a/www/phoenix-bin-acroread/Makefile +++ b/www/phoenix-bin-acroread/Makefile @@ -1,25 +1,15 @@ -# $NetBSD: Makefile,v 1.1.1.1 2003/04/29 13:33:34 kei Exp $ +# $NetBSD: Makefile,v 1.2 2003/05/07 16:29:38 kei Exp $ DISTNAME= phoenix-bin-acroread-1.0 -WRKSRC= ${WRKDIR} -CATEGORIES= www print -MASTER_SITES= # empty -DISTFILES= # empty +PKGREVISION= 1 MAINTAINER= kei@netbsd.org COMMENT= Acrobat Reader 4 plugin for phoenix-bin -DEPENDS+= phoenix-bin-[0-9]*:../../www/phoenix-bin DEPENDS+= acroread-4.[0-9]*:../../print/acroread +CONFLICTS+= phoenix-bin-acroread3-[0-9]* +CONFLICTS+= phoenix-bin-acroread5-[0-9]* -ONLY_FOR_PLATFORM= NetBSD-*-i386 +ACROREAD= Acrobat4 -NO_CHECKSUM= YES -NO_CONFIGURE= YES -NO_BUILD= YES - -do-install: - ${LN} -s ${PREFIX}/lib/netscape/plugins/nppdf.so \ - ${PREFIX}/lib/phoenix-linux/plugins/nppdf.so - -.include "../../mk/bsd.pkg.mk" +.include "../../www/phoenix-bin-acroread/Makefile.common" diff --git a/www/phoenix-bin-acroread/Makefile.common b/www/phoenix-bin-acroread/Makefile.common new file mode 100644 index 00000000000..82dd4f07d57 --- /dev/null +++ b/www/phoenix-bin-acroread/Makefile.common @@ -0,0 +1,25 @@ +# $NetBSD: Makefile.common,v 1.1 2003/05/07 16:29:38 kei Exp $ + +WRKSRC= ${WRKDIR} +CATEGORIES= www print +MASTER_SITES= # empty +DISTFILES= # empty + +DEPENDS+= phoenix-bin-[0-9]*:../../www/phoenix-bin + +ONLY_FOR_PLATFORM= NetBSD-*-i386 +PLATFORM= intellinux + +NO_CHECKSUM= YES +NO_CONFIGURE= YES +NO_BUILD= YES + +PLIST_SRC= ../../www/phoenix-bin-acroread/PLIST +PLIST_SUBST+= ACROREAD=${ACROREAD} +PLIST_SUBST+= PLATFORM=${PLATFORM} + +do-install: + ${LN} -s ${PREFIX}/${ACROREAD}/Browsers/${PLATFORM}/nppdf.so \ + ${PREFIX}/lib/phoenix-linux/plugins/nppdf.so + +.include "../../mk/bsd.pkg.mk" diff --git a/www/phoenix-bin-acroread/PLIST b/www/phoenix-bin-acroread/PLIST index 647272bed4a..b918915ad87 100644 --- a/www/phoenix-bin-acroread/PLIST +++ b/www/phoenix-bin-acroread/PLIST @@ -1,3 +1,3 @@ -@comment $NetBSD: PLIST,v 1.1.1.1 2003/04/29 13:33:34 kei Exp $ -@exec ${LN} -s %D/lib/netscape/plugins/nppdf.so %D/lib/phoenix-linux/plugins/nppdf.so +@comment $NetBSD: PLIST,v 1.2 2003/05/07 16:29:38 kei Exp $ +@exec ${LN} -s %D/${ACROREAD}/Browsers/${PLATFORM}/nppdf.so %D/lib/phoenix-linux/plugins/nppdf.so lib/phoenix-linux/plugins/nppdf.so |