aboutsummaryrefslogtreecommitdiffstats
path: root/editors/poedit
diff options
context:
space:
mode:
authorijliao <ijliao@FreeBSD.org>2001-04-09 09:34:31 +0800
committerijliao <ijliao@FreeBSD.org>2001-04-09 09:34:31 +0800
commit4bfd5b85aab5ffe0834ce1bd3fb2d544ffcbb2dc (patch)
tree032399ae4adb7e0c578be4d1cae450a7a83f135a /editors/poedit
parent36a38a05b8aa1ccb019d9d418815a398373c8907 (diff)
downloadfreebsd-ports-gnome-4bfd5b85aab5ffe0834ce1bd3fb2d544ffcbb2dc.tar.gz
freebsd-ports-gnome-4bfd5b85aab5ffe0834ce1bd3fb2d544ffcbb2dc.tar.zst
freebsd-ports-gnome-4bfd5b85aab5ffe0834ce1bd3fb2d544ffcbb2dc.zip
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 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