summaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authorTobias Kortkamp <tobik@FreeBSD.org>2019-02-09 11:04:39 +0000
committerTobias Kortkamp <tobik@FreeBSD.org>2019-02-09 11:04:39 +0000
commit523ce2b8f0eb57bbb20394d54f6173a014f45676 (patch)
tree53bd2bd57a4e9cad38ad565f6115d423497cd262 /graphics
parent86ebb877d79d38f3b8c42a5c72924d056a55c74b (diff)
downloadfreebsd-ports-523ce2b8f0eb57bbb20394d54f6173a014f45676.zip
graphics/ufraw: Simplify using the GTK2 plist sub already added by OPTIONS_SUB
Diffstat (limited to 'graphics')
-rw-r--r--graphics/ufraw/Makefile7
-rw-r--r--graphics/ufraw/pkg-plist2
2 files changed, 1 insertions, 8 deletions
diff --git a/graphics/ufraw/Makefile b/graphics/ufraw/Makefile
index 2a33eee149d0..3e023739d62e 100644
--- a/graphics/ufraw/Makefile
+++ b/graphics/ufraw/Makefile
@@ -59,13 +59,6 @@ GNOME_USE= GNOME=gconf2
GNOME_CONFIGURE_ENABLE= mime
GNOME_VARS= CATEGORIES+=gnome GCONF_SCHEMAS=${PORTNAME}.schemas
-.include <bsd.port.options.mk>
-.if ${PORT_OPTIONS:MGTK2}
-PLIST_SUB+= NOGTK2=""
-.else
-PLIST_SUB+= NOGTK2="@comment "
-.endif
-
post-install:
${INSTALL_DATA} ${WRKSRC}/ufraw.desktop ${STAGEDIR}${DESKTOPDIR}
diff --git a/graphics/ufraw/pkg-plist b/graphics/ufraw/pkg-plist
index 7d47ab3f4353..2ddf9e4fb058 100644
--- a/graphics/ufraw/pkg-plist
+++ b/graphics/ufraw/pkg-plist
@@ -1,6 +1,6 @@
bin/dcraw
bin/nikon-curve
-%%NOGTK2%%bin/ufraw
+%%GTK2%%bin/ufraw
bin/ufraw-batch
man/man1/ufraw.1.gz
share/applications/ufraw.desktop