diff options
author | sbd <sbd@pkgsrc.org> | 2013-04-24 09:52:38 +0000 |
---|---|---|
committer | sbd <sbd@pkgsrc.org> | 2013-04-24 09:52:38 +0000 |
commit | d631ff82668c71cbb7bc96acd0167813deb6942c (patch) | |
tree | 1a04297d798ebf98eb1d2502142e25aeb9969a5f | |
parent | 1aea1ada61a1a666b7d5abac553bdd1cfc85d53e (diff) | |
download | pkgsrc-d631ff82668c71cbb7bc96acd0167813deb6942c.tar.gz |
Add print/ghostscript meta-package to allow selection of the prefered
ghostscript. i.e: ghostscript-gpl or ghostscript-agpl
-rw-r--r-- | print/ghostscript/DESCR | 5 | ||||
-rw-r--r-- | print/ghostscript/Makefile | 28 |
2 files changed, 33 insertions, 0 deletions
diff --git a/print/ghostscript/DESCR b/print/ghostscript/DESCR new file mode 100644 index 00000000000..68d7e55c59f --- /dev/null +++ b/print/ghostscript/DESCR @@ -0,0 +1,5 @@ +Ghostscript is the well-known PostScript interpreter which is available for +all common and most esoteric platforms and supports many different printers +and some displays. + +This is a meta-package for installing the preferred ghostscript version. diff --git a/print/ghostscript/Makefile b/print/ghostscript/Makefile new file mode 100644 index 00000000000..6d18d60ecb5 --- /dev/null +++ b/print/ghostscript/Makefile @@ -0,0 +1,28 @@ +# $NetBSD: Makefile,v 1.99 2013/04/24 09:52:38 sbd Exp $ +# + +# XXX The version number is the last one before the agpl change. +DISTNAME= ghostscript-9.05 +PKGREVISION= 4 +CATEGORIES= print meta-pkgs +MASTER_SITES= # empty + +MAINTAINER= pkgsrc-users@NetBSD.org +COMMENT= Meta-package for installing the preferred ghostscript version + +META_PACKAGE= yes + +PKG_OPTIONS_VAR= PKG_OPTIONS.gs_type +PKG_OPTIONS_OPTIONAL_GROUPS= ghostscript +PKG_OPTIONS_GROUP.ghostscript+= ghostscript-agpl ghostscript-gpl +PKG_SUGGESTED_OPTIONS+= ghostscript-gpl + +.include "../../mk/bsd.options.mk" + +.if !empty(PKG_OPTIONS:Mghostscript-agpl) +DEPENDS+= ghostscript-agpl-[0-9]*:../../print/ghostscript-agpl +.elif !empty(PKG_OPTIONS:Mghostscript-gpl) +DEPENDS+= ghostscript-gpl-[0-9]*:../../print/ghostscript-gpl +.endif + +.include "../../mk/bsd.pkg.mk" |