aboutsummaryrefslogtreecommitdiff
path: root/textproc/stardict2
diff options
context:
space:
mode:
authorXin LI <delphij@FreeBSD.org>2006-07-17 06:52:07 +0000
committerXin LI <delphij@FreeBSD.org>2006-07-17 06:52:07 +0000
commit98aa8bd0ef8073bfdd4abd4bcd93a841101ed422 (patch)
treef9d6130e542a6abcd11525433093b9e0b344478f /textproc/stardict2
parentc26cce333cf2f5ccbba4f7c95c23d1240ddd81ea (diff)
downloadports-98aa8bd0ef8073bfdd4abd4bcd93a841101ed422.tar.gz
ports-98aa8bd0ef8073bfdd4abd4bcd93a841101ed422.zip
Notes
Diffstat (limited to 'textproc/stardict2')
-rw-r--r--textproc/stardict2/Makefile16
-rw-r--r--textproc/stardict2/pkg-plist120
2 files changed, 74 insertions, 62 deletions
diff --git a/textproc/stardict2/Makefile b/textproc/stardict2/Makefile
index d7e5de03095f..c17943dd4651 100644
--- a/textproc/stardict2/Makefile
+++ b/textproc/stardict2/Makefile
@@ -7,6 +7,7 @@
PORTNAME= stardict
PORTVERSION= 2.4.8
+PORTREVISION= 1
CATEGORIES= textproc
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
@@ -22,11 +23,22 @@ USE_GMAKE= yes
USE_GCC= 3.4
USE_X_PREFIX= yes
USE_BZIP2= yes
-USE_GNOME= gnomehack gnomeprefix libgnomeui
+USE_GNOME= gnomehack gnomeprefix
USE_GETTEXT= yes
+OPTIONS= GNOMEUI "GNOME support" On
+
+.include <bsd.port.pre.mk>
+
+.if !defined(WITHOUT_GNOMEUI)
+USE_GNOME+= libgnomeui
GCONF_SCHEMAS= stardict.schemas
INSTALLS_OMF= yes
+PLIST_SUB= GNOME=""
+.else
+CONFIGURE_ARGS+=--disable-gnome-support --disable-schemas-install
+PLIST_SUB= GNOME="@comment not installed: "
+.endif
MAN1= stardict.1
@@ -39,4 +51,4 @@ post-patch:
post-install:
@${CAT} ${PKGMESSAGE}
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff --git a/textproc/stardict2/pkg-plist b/textproc/stardict2/pkg-plist
index afe1797c3eb8..26dd31626e97 100644
--- a/textproc/stardict2/pkg-plist
+++ b/textproc/stardict2/pkg-plist
@@ -1,49 +1,49 @@
bin/stardict
-libdata/bonobo/servers/GNOME_Stardict.server
+%%GNOME%%libdata/bonobo/servers/GNOME_Stardict.server
share/gnome/applications/stardict.desktop
-share/gnome/help/stardict/C/figures/stardict_float_window.png
-share/gnome/help/stardict/C/figures/stardict_main_window.png
-share/gnome/help/stardict/C/figures/stardict_notification_area.png
-share/gnome/help/stardict/C/legal.xml
-share/gnome/help/stardict/C/stardict.xml
-share/gnome/help/stardict/mk/figures/stardict_float_window.png
-share/gnome/help/stardict/mk/figures/stardict_main_window.png
-share/gnome/help/stardict/mk/figures/stardict_notification_area.png
-share/gnome/help/stardict/mk/legal.xml
-share/gnome/help/stardict/mk/stardict.xml
-share/gnome/help/stardict/nl/figures/stardict_float_window.png
-share/gnome/help/stardict/nl/figures/stardict_main_window.png
-share/gnome/help/stardict/nl/figures/stardict_notification_area.png
-share/gnome/help/stardict/nl/legal.xml
-share/gnome/help/stardict/nl/stardict.xml
-share/gnome/help/stardict/ru/figures/stardict_float_window.png
-share/gnome/help/stardict/ru/figures/stardict_main_window.png
-share/gnome/help/stardict/ru/figures/stardict_notification_area.png
-share/gnome/help/stardict/ru/legal.xml
-share/gnome/help/stardict/ru/stardict.xml
-share/gnome/help/stardict/uk/figures/stardict_float_window.png
-share/gnome/help/stardict/uk/figures/stardict_main_window.png
-share/gnome/help/stardict/uk/figures/stardict_notification_area.png
-share/gnome/help/stardict/uk/legal.xml
-share/gnome/help/stardict/uk/stardict.xml
-share/gnome/help/stardict/zh_CN/figures/stardict_float_window.png
-share/gnome/help/stardict/zh_CN/figures/stardict_main_window.png
-share/gnome/help/stardict/zh_CN/figures/stardict_notification_area.png
-share/gnome/help/stardict/zh_CN/legal.xml
-share/gnome/help/stardict/zh_CN/stardict.xml
-share/gnome/help/stardict/zh_TW/figures/stardict_float_window.png
-share/gnome/help/stardict/zh_TW/figures/stardict_main_window.png
-share/gnome/help/stardict/zh_TW/figures/stardict_notification_area.png
-share/gnome/help/stardict/zh_TW/legal.xml
-share/gnome/help/stardict/zh_TW/stardict.xml
-share/gnome/idl/GNOME_Stardict.idl
-share/gnome/omf/stardict/stardict-C.omf
-share/gnome/omf/stardict/stardict-mk.omf
-share/gnome/omf/stardict/stardict-nl.omf
-share/gnome/omf/stardict/stardict-ru.omf
-share/gnome/omf/stardict/stardict-uk.omf
-share/gnome/omf/stardict/stardict-zh_CN.omf
-share/gnome/omf/stardict/stardict-zh_TW.omf
+%%GNOME%%share/gnome/help/stardict/C/figures/stardict_float_window.png
+%%GNOME%%share/gnome/help/stardict/C/figures/stardict_main_window.png
+%%GNOME%%share/gnome/help/stardict/C/figures/stardict_notification_area.png
+%%GNOME%%share/gnome/help/stardict/C/legal.xml
+%%GNOME%%share/gnome/help/stardict/C/stardict.xml
+%%GNOME%%share/gnome/help/stardict/mk/figures/stardict_float_window.png
+%%GNOME%%share/gnome/help/stardict/mk/figures/stardict_main_window.png
+%%GNOME%%share/gnome/help/stardict/mk/figures/stardict_notification_area.png
+%%GNOME%%share/gnome/help/stardict/mk/legal.xml
+%%GNOME%%share/gnome/help/stardict/mk/stardict.xml
+%%GNOME%%share/gnome/help/stardict/nl/figures/stardict_float_window.png
+%%GNOME%%share/gnome/help/stardict/nl/figures/stardict_main_window.png
+%%GNOME%%share/gnome/help/stardict/nl/figures/stardict_notification_area.png
+%%GNOME%%share/gnome/help/stardict/nl/legal.xml
+%%GNOME%%share/gnome/help/stardict/nl/stardict.xml
+%%GNOME%%share/gnome/help/stardict/ru/figures/stardict_float_window.png
+%%GNOME%%share/gnome/help/stardict/ru/figures/stardict_main_window.png
+%%GNOME%%share/gnome/help/stardict/ru/figures/stardict_notification_area.png
+%%GNOME%%share/gnome/help/stardict/ru/legal.xml
+%%GNOME%%share/gnome/help/stardict/ru/stardict.xml
+%%GNOME%%share/gnome/help/stardict/uk/figures/stardict_float_window.png
+%%GNOME%%share/gnome/help/stardict/uk/figures/stardict_main_window.png
+%%GNOME%%share/gnome/help/stardict/uk/figures/stardict_notification_area.png
+%%GNOME%%share/gnome/help/stardict/uk/legal.xml
+%%GNOME%%share/gnome/help/stardict/uk/stardict.xml
+%%GNOME%%share/gnome/help/stardict/zh_CN/figures/stardict_float_window.png
+%%GNOME%%share/gnome/help/stardict/zh_CN/figures/stardict_main_window.png
+%%GNOME%%share/gnome/help/stardict/zh_CN/figures/stardict_notification_area.png
+%%GNOME%%share/gnome/help/stardict/zh_CN/legal.xml
+%%GNOME%%share/gnome/help/stardict/zh_CN/stardict.xml
+%%GNOME%%share/gnome/help/stardict/zh_TW/figures/stardict_float_window.png
+%%GNOME%%share/gnome/help/stardict/zh_TW/figures/stardict_main_window.png
+%%GNOME%%share/gnome/help/stardict/zh_TW/figures/stardict_notification_area.png
+%%GNOME%%share/gnome/help/stardict/zh_TW/legal.xml
+%%GNOME%%share/gnome/help/stardict/zh_TW/stardict.xml
+%%GNOME%%share/gnome/idl/GNOME_Stardict.idl
+%%GNOME%%share/gnome/omf/stardict/stardict-C.omf
+%%GNOME%%share/gnome/omf/stardict/stardict-mk.omf
+%%GNOME%%share/gnome/omf/stardict/stardict-nl.omf
+%%GNOME%%share/gnome/omf/stardict/stardict-ru.omf
+%%GNOME%%share/gnome/omf/stardict/stardict-uk.omf
+%%GNOME%%share/gnome/omf/stardict/stardict-zh_CN.omf
+%%GNOME%%share/gnome/omf/stardict/stardict-zh_TW.omf
share/gnome/pixmaps/stardict.png
share/gnome/stardict/pixmaps/docklet_normal.png
share/gnome/stardict/pixmaps/docklet_scan.png
@@ -76,19 +76,19 @@ share/locale/zh_TW/LC_MESSAGES/stardict.mo
@dirrm share/gnome/stardict/sounds
@dirrm share/gnome/stardict/pixmaps
@dirrmtry share/gnome/stardict
-@dirrm share/gnome/omf/stardict
-@dirrm share/gnome/help/stardict/zh_TW/figures
-@dirrm share/gnome/help/stardict/zh_TW
-@dirrm share/gnome/help/stardict/zh_CN/figures
-@dirrm share/gnome/help/stardict/zh_CN
-@dirrm share/gnome/help/stardict/uk/figures
-@dirrm share/gnome/help/stardict/uk
-@dirrm share/gnome/help/stardict/ru/figures
-@dirrm share/gnome/help/stardict/ru
-@dirrm share/gnome/help/stardict/nl/figures
-@dirrm share/gnome/help/stardict/nl
-@dirrm share/gnome/help/stardict/mk/figures
-@dirrm share/gnome/help/stardict/mk
-@dirrm share/gnome/help/stardict/C/figures
-@dirrm share/gnome/help/stardict/C
-@dirrm share/gnome/help/stardict
+%%GNOME%%@dirrm share/gnome/omf/stardict
+%%GNOME%%@dirrm share/gnome/help/stardict/zh_TW/figures
+%%GNOME%%@dirrm share/gnome/help/stardict/zh_TW
+%%GNOME%%@dirrm share/gnome/help/stardict/zh_CN/figures
+%%GNOME%%@dirrm share/gnome/help/stardict/zh_CN
+%%GNOME%%@dirrm share/gnome/help/stardict/uk/figures
+%%GNOME%%@dirrm share/gnome/help/stardict/uk
+%%GNOME%%@dirrm share/gnome/help/stardict/ru/figures
+%%GNOME%%@dirrm share/gnome/help/stardict/ru
+%%GNOME%%@dirrm share/gnome/help/stardict/nl/figures
+%%GNOME%%@dirrm share/gnome/help/stardict/nl
+%%GNOME%%@dirrm share/gnome/help/stardict/mk/figures
+%%GNOME%%@dirrm share/gnome/help/stardict/mk
+%%GNOME%%@dirrm share/gnome/help/stardict/C/figures
+%%GNOME%%@dirrm share/gnome/help/stardict/C
+%%GNOME%%@dirrm share/gnome/help/stardict