diff options
author | delphij <delphij@FreeBSD.org> | 2006-07-17 06:52:07 +0000 |
---|---|---|
committer | delphij <delphij@FreeBSD.org> | 2006-07-17 06:52:07 +0000 |
commit | f7181524c725dc9afa650b48f638c639e8eb4557 (patch) | |
tree | 4e28e23cd921763e03d74f22d09842c076326be0 /textproc | |
parent | cc8a90184328ae8d3bc617eaf555b9a34e9cfa19 (diff) | |
download | FreeBSD-ports-f7181524c725dc9afa650b48f638c639e8eb4557.zip FreeBSD-ports-f7181524c725dc9afa650b48f638c639e8eb4557.tar.gz |
- Make dependency on GNOME libs OPTION'al
Submitted by: Yuri Pankov <yuri pankov gmail com> (with changes)
PR: ports/100053
Diffstat (limited to 'textproc')
-rw-r--r-- | textproc/stardict2/Makefile | 16 | ||||
-rw-r--r-- | textproc/stardict2/pkg-plist | 120 | ||||
-rw-r--r-- | textproc/stardict3/Makefile | 16 | ||||
-rw-r--r-- | textproc/stardict3/pkg-plist | 120 |
4 files changed, 148 insertions, 124 deletions
diff --git a/textproc/stardict2/Makefile b/textproc/stardict2/Makefile index d7e5de0..c17943d 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 afe1797..26dd316 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 diff --git a/textproc/stardict3/Makefile b/textproc/stardict3/Makefile index d7e5de0..c17943d 100644 --- a/textproc/stardict3/Makefile +++ b/textproc/stardict3/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/stardict3/pkg-plist b/textproc/stardict3/pkg-plist index afe1797..26dd316 100644 --- a/textproc/stardict3/pkg-plist +++ b/textproc/stardict3/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 |