summaryrefslogtreecommitdiffstats
path: root/editors/poedit
diff options
context:
space:
mode:
authorijliao <ijliao@FreeBSD.org>2001-04-09 01:34:31 +0000
committerijliao <ijliao@FreeBSD.org>2001-04-09 01:34:31 +0000
commit4bfd5b85aab5ffe0834ce1bd3fb2d544ffcbb2dc (patch)
tree032399ae4adb7e0c578be4d1cae450a7a83f135a /editors/poedit
parent36a38a05b8aa1ccb019d9d418815a398373c8907 (diff)
downloadFreeBSD-ports-4bfd5b85aab5ffe0834ce1bd3fb2d544ffcbb2dc.zip
FreeBSD-ports-4bfd5b85aab5ffe0834ce1bd3fb2d544ffcbb2dc.tar.gz
add support for no-gnome user
Submitted by: clive
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 b7e4c77..808fb58 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 9f2a66a..9618131 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
OpenPOWER on IntegriCloud