aboutsummaryrefslogtreecommitdiff
path: root/astro/xplanet
diff options
context:
space:
mode:
Diffstat (limited to 'astro/xplanet')
-rw-r--r--astro/xplanet/Makefile12
-rw-r--r--astro/xplanet/distinfo4
-rw-r--r--astro/xplanet/pkg-plist44
3 files changed, 11 insertions, 49 deletions
diff --git a/astro/xplanet/Makefile b/astro/xplanet/Makefile
index 81c37819041d..9338c06a309b 100644
--- a/astro/xplanet/Makefile
+++ b/astro/xplanet/Makefile
@@ -6,8 +6,8 @@
#
PORTNAME= xplanet
-PORTVERSION= 1.0.3
-PORTREVISION= 1
+PORTVERSION= 1.0.4
+PORTREVISION= 0
CATEGORIES= astro
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
@@ -24,13 +24,15 @@ LIB_DEPENDS= jpeg.9:${PORTSDIR}/graphics/jpeg \
USE_X_PREFIX= yes
USE_GCC= 3.3
+USE_GNOME= pango
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-map-extension=jpg --with-freetype --with-gif \
- --with-png --with-pnm --with-tiff
+ --with-png --with-pnm --with-tiff --with-pango
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include -I${X11BASE}/include" \
LIBS="-L${LOCALBASE}/lib -L${X11BASE}/lib -lm"
USE_GMAKE= yes
+PLIST_FILES= bin/xplanet
MAN1= xplanet.1
# Install the list of FreeBSD sites & committers locations from astro/xearth
@@ -39,5 +41,9 @@ post-install:
@${INSTALL_DATA} ${PORTSDIR}/astro/xearth/files/${file} \
${DATADIR}/markers
.endfor
+ @${FIND} ${DATADIR} -type f | \
+ ${SED} 's,^${PREFIX}/,,' >> ${TMPPLIST}
+ @${FIND} ${DATADIR} -type d | ${SORT} -r | \
+ ${SED} 's,^${PREFIX}/,@dirrm ,' >> ${TMPPLIST}
.include <bsd.port.mk>
diff --git a/astro/xplanet/distinfo b/astro/xplanet/distinfo
index de291cfe902c..3e6075a10984 100644
--- a/astro/xplanet/distinfo
+++ b/astro/xplanet/distinfo
@@ -1,2 +1,2 @@
-MD5 (xplanet-1.0.3.tar.gz) = 85256215063485b956f3eec6090b6be3
-SIZE (xplanet-1.0.3.tar.gz) = 1128319
+MD5 (xplanet-1.0.4.tar.gz) = 8a6ca80b2d73c299622377e9af4ecfa2
+SIZE (xplanet-1.0.4.tar.gz) = 1148980
diff --git a/astro/xplanet/pkg-plist b/astro/xplanet/pkg-plist
deleted file mode 100644
index 6146a05106fd..000000000000
--- a/astro/xplanet/pkg-plist
+++ /dev/null
@@ -1,44 +0,0 @@
-bin/xplanet
-%%DATADIR%%/arcs/constellations
-%%DATADIR%%/config/default
-%%DATADIR%%/config/earth_markers
-%%DATADIR%%/config/moon_orbit
-%%DATADIR%%/config/overlay_clouds
-%%DATADIR%%/ephemeris/README
-%%DATADIR%%/fonts/FreeMonoBold.ttf
-%%DATADIR%%/fonts/README
-%%DATADIR%%/images/README
-%%DATADIR%%/images/earth.jpg
-%%DATADIR%%/images/hubble.png
-%%DATADIR%%/images/iss.png
-%%DATADIR%%/images/night.jpg
-%%DATADIR%%/images/shuttle.png
-%%DATADIR%%/images/smile.png
-%%DATADIR%%/images/sublunar.png
-%%DATADIR%%/images/subsolar.png
-%%DATADIR%%/markers/brightStars
-%%DATADIR%%/markers/earth
-%%DATADIR%%/markers/freebsd.committers.markers
-%%DATADIR%%/markers/freebsd.ftp.markers
-%%DATADIR%%/markers/mars
-%%DATADIR%%/markers/moon
-%%DATADIR%%/origin/README
-%%DATADIR%%/origin/cassini
-%%DATADIR%%/origin/galileo
-%%DATADIR%%/rgb.txt
-%%DATADIR%%/satellites/iss
-%%DATADIR%%/satellites/iss.tle
-%%DATADIR%%/scripts/convertCassini.perl
-%%DATADIR%%/scripts/convertCassini2.perl
-%%DATADIR%%/stars/BSC
-@dirrm %%DATADIR%%/arcs
-@dirrm %%DATADIR%%/config
-@dirrm %%DATADIR%%/ephemeris
-@dirrm %%DATADIR%%/fonts
-@dirrm %%DATADIR%%/images
-@dirrm %%DATADIR%%/markers
-@dirrm %%DATADIR%%/origin
-@dirrm %%DATADIR%%/satellites
-@dirrm %%DATADIR%%/scripts
-@dirrm %%DATADIR%%/stars
-@dirrm %%DATADIR%%