summaryrefslogtreecommitdiff
path: root/astro
diff options
context:
space:
mode:
authorPietro Cerutti <gahr@FreeBSD.org>2008-03-12 23:51:16 +0000
committerPietro Cerutti <gahr@FreeBSD.org>2008-03-12 23:51:16 +0000
commit163a0f52bd50c3a2cea76535ba31906d6aa3ac6a (patch)
treec6341605dd150de7ce4c4278f949d96978eafa2c /astro
parent- Fix imlib2 dependency. (diff)
- USE_XLIB -> USE_XORG
- Fix pkg-plist Approved by: miwi (mentor)
Notes
Notes: svn path=/head/; revision=208912
Diffstat (limited to 'astro')
-rw-r--r--astro/nightfall/Makefile8
-rw-r--r--astro/nightfall/pkg-plist16
2 files changed, 13 insertions, 11 deletions
diff --git a/astro/nightfall/Makefile b/astro/nightfall/Makefile
index 306dcb1ec32a..9822a9015e80 100644
--- a/astro/nightfall/Makefile
+++ b/astro/nightfall/Makefile
@@ -7,7 +7,7 @@
PORTNAME= nightfall
PORTVERSION= 1.62
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= astro
MASTER_SITES= http://www.la-samhna.de/nightfall/ CENKES
@@ -16,8 +16,8 @@ COMMENT= An interactive binary star application
LIB_DEPENDS= jpeg.9:${PORTSDIR}/graphics/jpeg
-USE_XLIB= yes
-WANT_GNOME= yes
+USE_XORG= x11 xext xrender xinerama xi xrandr xcursor \
+ xcomposite xdamage xfixes
USE_GNOME= gnomehack gnomehier gnometarget gtk20
USE_PERL5= yes
USE_GETTEXT= yes
@@ -35,8 +35,10 @@ MAN1= nightfall.1
PKGNAMESUFFIX= -gnome
USE_GNOME+= gnomeprefix libgnomeui
INSTALLS_OMF= yes
+PLIST_SUB= GNOME=""
.else
CONFIGURE_ARGS+= --disable-gnome
+PLIST_SUB= GNOME="@comment "
.endif
.if defined(WITHOUT_PGPLOT)
diff --git a/astro/nightfall/pkg-plist b/astro/nightfall/pkg-plist
index 1ede1c4a19e6..4c1bba53a425 100644
--- a/astro/nightfall/pkg-plist
+++ b/astro/nightfall/pkg-plist
@@ -1,7 +1,7 @@
bin/nightfall
share/applications/nightfall.desktop
-%%GNOME:%%share/gnome/help/nightfall/C/nightfall.xml
-%%GNOME:%%share/gnome/help/nightfall/de/nightfall.xml
+%%GNOME%%share/gnome/help/nightfall/C/nightfall.xml
+%%GNOME%%share/gnome/help/nightfall/de/nightfall.xml
share/locale/de/LC_MESSAGES/nightfall.mo
share/locale/it/LC_MESSAGES/nightfall.mo
%%DATADIR%%/cfg/51_peg.cfg
@@ -83,9 +83,9 @@ share/locale/it/LC_MESSAGES/nightfall.mo
%%DATADIR%%/pixmaps/starp_256.jpg
%%DATADIR%%/pixmaps/stars_128.jpg
%%DATADIR%%/pixmaps/stars_256.jpg
-%%GNOME:%%share/omf/nightfall/nightfall-C.omf
-%%GNOME:%%share/omf/nightfall/nightfall-de.omf
-%%GNOME:%%@dirrm share/omf/nightfall
+%%GNOME%%share/omf/nightfall/nightfall-C.omf
+%%GNOME%%share/omf/nightfall/nightfall-de.omf
+%%GNOME%%@dirrm share/omf/nightfall
@dirrm %%DATADIR%%/pixmaps
@dirrm %%DATADIR%%/doc/de
@dirrm %%DATADIR%%/doc/C
@@ -93,7 +93,7 @@ share/locale/it/LC_MESSAGES/nightfall.mo
@dirrm %%DATADIR%%/data
@dirrm %%DATADIR%%/cfg
@dirrm %%DATADIR%%
-%%GNOME:%%@dirrm share/gnome/help/nightfall/de
-%%GNOME:%%@dirrm share/gnome/help/nightfall/C
-%%GNOME:%%@dirrm share/gnome/help/nightfall
+%%GNOME%%@dirrm share/gnome/help/nightfall/de
+%%GNOME%%@dirrm share/gnome/help/nightfall/C
+%%GNOME%%@dirrm share/gnome/help/nightfall
@dirrmtry share/applications