pkgsrc/print/ghostscript/Makefile

29 lines
817 B
Makefile
Raw Normal View History

2019-02-10 22:35:26 +01:00
# $NetBSD: Makefile,v 1.114 2019/02/10 21:35:26 wiz Exp $
#
2019-02-10 22:35:26 +01:00
# XXX The version number is the last one before the agpl change.
DISTNAME= ghostscript-9.05
PKGREVISION= 15
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
2019-02-10 22:35:26 +01:00
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"