aboutsummaryrefslogtreecommitdiffstats
path: root/editors/poedit
diff options
context:
space:
mode:
Diffstat (limited to 'editors/poedit')
-rw-r--r--editors/poedit/Makefile7
-rw-r--r--editors/poedit/pkg-plist8
2 files changed, 11 insertions, 4 deletions
diff --git a/editors/poedit/Makefile b/editors/poedit/Makefile
index b7e4c77246f7..808fb589544d 100644
--- a/editors/poedit/Makefile
+++ b/editors/poedit/Makefile
@@ -21,5 +21,12 @@ USE_X_PREFIX= yes
GNU_CONFIGURE= yes
USE_GMAKE= yes
+WANT_GNOME= yes
+
+.if defined(HAVE_GNOME)
+USE_GNOME= yes
+.else
+CONFIGURE_ARGS= --without-gnome
+.endif
.include <bsd.port.mk>
diff --git a/editors/poedit/pkg-plist b/editors/poedit/pkg-plist
index 9f2a66ab2dc7..96181310b5fd 100644
--- a/editors/poedit/pkg-plist
+++ b/editors/poedit/pkg-plist
@@ -1,7 +1,7 @@
bin/poedit
-share/gnome/apps/Development/poedit.desktop
-share/gnome/mime-info/poedit.keys
-share/gnome/mime-info/poedit.mime
-share/gnome/pixmaps/poedit.xpm
+%%GNOME:%%share/gnome/apps/Development/poedit.desktop
+%%GNOME:%%share/gnome/mime-info/poedit.keys
+%%GNOME:%%share/gnome/mime-info/poedit.mime
+%%GNOME:%%share/gnome/pixmaps/poedit.xpm
share/poedit/poedit_help.htb
@dirrm share/poedit