summaryrefslogtreecommitdiff
path: root/astro
diff options
context:
space:
mode:
authorSatoshi Asami <asami@FreeBSD.org>1999-08-30 11:09:17 +0000
committerSatoshi Asami <asami@FreeBSD.org>1999-08-30 11:09:17 +0000
commitfca32bec843aa4538c7e2fbec404070846f7eacc (patch)
tree184d52f39459411e93e128025998889d1f623d82 /astro
parentMake sure directory ${WRKDIRPREFIX}${CURDIR} exists before (diff)
Install properly PREFIX-ified app-defaults file so the program can find
pixmaps and stuff.
Notes
Notes: svn path=/head/; revision=21120
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