aboutsummaryrefslogtreecommitdiffstats
path: root/astro
diff options
context:
space:
mode:
authorasami <asami@FreeBSD.org>1999-08-30 19:09:17 +0800
committerasami <asami@FreeBSD.org>1999-08-30 19:09:17 +0800
commitbea3a8546395a605a343cd4474c2c245f1236be5 (patch)
tree75f2e928bd77a40cb547ae53b5315beb7432e2f6 /astro
parentef36127bae599c3c689edd3f3e97beb5d36177ed (diff)
downloadfreebsd-ports-gnome-bea3a8546395a605a343cd4474c2c245f1236be5.tar.gz
freebsd-ports-gnome-bea3a8546395a605a343cd4474c2c245f1236be5.tar.zst
freebsd-ports-gnome-bea3a8546395a605a343cd4474c2c245f1236be5.zip
Install properly PREFIX-ified app-defaults file so the program can find
pixmaps and stuff.
Diffstat (limited to 'astro')
-rw-r--r--astro/xephem/Makefile2
-rw-r--r--astro/xephem/pkg-plist1
2 files changed, 3 insertions, 0 deletions
diff --git a/astro/xephem/Makefile b/astro/xephem/Makefile
index 9979a4bf94e4..b4b79938265e 100644
--- a/astro/xephem/Makefile
+++ b/astro/xephem/Makefile
@@ -45,10 +45,12 @@ pre-configure:
pre-build:
@(cd ${LIBSRC}; ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} ${MAKEFILE} ${ALL_TARGET})
+ ${SED} -e "s^@PREFIX@^${PREFIX}^" ${WRKSRC}/XEphem.ad > ${WRKSRC}/XEphem.ad.new
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/xephem ${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/xephem.man ${PREFIX}/man/man1/xephem.1
+ ${INSTALL_DATA} ${WRKSRC}/XEphem.ad.new ${PREFIX}/lib/X11/app-defaults/XEphem
${MKDIR} ${PREFIX}/lib/X11/xephem
${MKDIR} ${PREFIX}/lib/X11/xephem/auxil
diff --git a/astro/xephem/pkg-plist b/astro/xephem/pkg-plist
index 180ad162e87e..de9846002acc 100644
--- a/astro/xephem/pkg-plist
+++ b/astro/xephem/pkg-plist
@@ -1,4 +1,5 @@
bin/xephem
+lib/X11/app-defaults/XEphem
lib/X11/xephem/auxil/README
lib/X11/xephem/auxil/mars_db
lib/X11/xephem/auxil/marsmap.fts