aboutsummaryrefslogtreecommitdiffstats
path: root/astro/xephem/Makefile
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/xephem/Makefile
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/xephem/Makefile')
-rw-r--r--astro/xephem/Makefile2
1 files changed, 2 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