Install properly PREFIX-ified app-defaults file so the program can find

pixmaps and stuff.
This commit is contained in:
Satoshi Asami 1999-08-30 11:09:17 +00:00
parent 6ac4aad38f
commit fca32bec84
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=21120
2 changed files with 3 additions and 0 deletions

View File

@ -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

View File

@ -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