aboutsummaryrefslogtreecommitdiff
path: root/editors/poedit
diff options
context:
space:
mode:
authorYing-Chieh Liao <ijliao@FreeBSD.org>2001-04-09 01:34:31 +0000
committerYing-Chieh Liao <ijliao@FreeBSD.org>2001-04-09 01:34:31 +0000
commite93cc5f84fea5ab776454c703d4ce6a0727c70ad (patch)
treeacab9df9b66f34825147c98a21c62ec2b71ecdf4 /editors/poedit
parent5dcba3ec3d369ee910d20dd14a672c19afe149a2 (diff)
downloadports-e93cc5f84fea5ab776454c703d4ce6a0727c70ad.tar.gz
ports-e93cc5f84fea5ab776454c703d4ce6a0727c70ad.zip
Notes
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