summaryrefslogtreecommitdiff
path: root/graphics/gimp
diff options
context:
space:
mode:
authormarkd <markd@pkgsrc.org>2015-07-23 20:54:54 +0000
committermarkd <markd@pkgsrc.org>2015-07-23 20:54:54 +0000
commit86ae013b3b0a08ebe133a0ca8deb49ebcb9ce991 (patch)
tree08b90e807084c58a4df554a3beb92018946d1caa /graphics/gimp
parent7c19004f8107e279cc3cbcc1e14665ee007d5fde (diff)
downloadpkgsrc-86ae013b3b0a08ebe133a0ca8deb49ebcb9ce991.tar.gz
Add a pdf option to gimp package.
Diffstat (limited to 'graphics/gimp')
-rw-r--r--graphics/gimp/PLIST3
-rw-r--r--graphics/gimp/options.mk11
2 files changed, 10 insertions, 4 deletions
diff --git a/graphics/gimp/PLIST b/graphics/gimp/PLIST
index 42f7e34d6ff..d0e828ff7bd 100644
--- a/graphics/gimp/PLIST
+++ b/graphics/gimp/PLIST
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.53 2014/08/30 06:37:41 adam Exp $
+@comment $NetBSD: PLIST,v 1.54 2015/07/23 20:54:54 markd Exp $
bin/gimp
bin/gimp-2.8
bin/gimp-console
@@ -302,6 +302,7 @@ lib/gimp/2.0/plug-ins/file-jpeg
${PLIST.mng}lib/gimp/2.0/plug-ins/file-mng
lib/gimp/2.0/plug-ins/file-pat
lib/gimp/2.0/plug-ins/file-pcx
+${PLIST.pdf}lib/gimp/2.0/plug-ins/file-pdf-load
lib/gimp/2.0/plug-ins/file-pdf-save
lib/gimp/2.0/plug-ins/file-pix
lib/gimp/2.0/plug-ins/file-png
diff --git a/graphics/gimp/options.mk b/graphics/gimp/options.mk
index caa44da8409..6aaa02d8e72 100644
--- a/graphics/gimp/options.mk
+++ b/graphics/gimp/options.mk
@@ -1,12 +1,12 @@
-# $NetBSD: options.mk,v 1.5 2012/10/28 23:40:24 wiz Exp $
+# $NetBSD: options.mk,v 1.6 2015/07/23 20:54:54 markd Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.gimp
-PKG_SUPPORTED_OPTIONS= aalib mng svg
+PKG_SUPPORTED_OPTIONS= aalib mng pdf svg
PKG_SUGGESTED_OPTIONS= mng svg
.include "../../mk/bsd.options.mk"
-PLIST_VARS+= aalib mng svg
+PLIST_VARS+= aalib mng pdf svg
.if !empty(PKG_OPTIONS:Maalib)
.include "../../graphics/aalib/buildlink3.mk"
@@ -18,6 +18,11 @@ PLIST.aalib= yes
PLIST.mng= yes
.endif
+.if !empty(PKG_OPTIONS:Mpdf)
+.include "../../print/poppler-glib/buildlink3.mk"
+PLIST.pdf= yes
+.endif
+
.if !empty(PKG_OPTIONS:Msvg)
.include "../../graphics/librsvg/buildlink3.mk"
PLIST.svg= yes