aboutsummaryrefslogtreecommitdiffstats
path: root/astro
diff options
context:
space:
mode:
authorgahr <gahr@FreeBSD.org>2008-03-13 07:51:16 +0800
committergahr <gahr@FreeBSD.org>2008-03-13 07:51:16 +0800
commite0cb5d536a191a9df9bd31dced08010aed16f7da (patch)
tree6834cb0b85cc292792d7922e180588c6126935ff /astro
parent60a00446ff10266245f1d3edff0415c8c1a9f0b2 (diff)
downloadfreebsd-ports-gnome-e0cb5d536a191a9df9bd31dced08010aed16f7da.tar.gz
freebsd-ports-gnome-e0cb5d536a191a9df9bd31dced08010aed16f7da.tar.zst
freebsd-ports-gnome-e0cb5d536a191a9df9bd31dced08010aed16f7da.zip
- USE_XLIB -> USE_XORG
- Fix pkg-plist Approved by: miwi (mentor)
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