More discriminate search & replace; fixes substitution error.

From: Andrew Dalgleish <openbsd@ajd.net.au>
This commit is contained in:
naddy 2003-08-27 19:13:06 +00:00
parent 97ce729f4e
commit 45bada8a11

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.25 2003/02/04 00:29:44 naddy Exp $
# $OpenBSD: Makefile,v 1.26 2003/08/27 19:13:06 naddy Exp $
COMMENT= "interactive astronomical ephemeris"
DISTNAME= xephem-3.2.3
@ -38,7 +38,7 @@ do-install:
${SETENV} ${MAKE_ENV} \
${MAKE} ${FAKE_FLAGS} -f ${MAKE_FILE} install.man
@cd ${WRKSRC}/GUI/xephem && \
sed -e 's,: .$$,: ${TRUEPREFIX}/lib/X11/xephem,' XEphem.ad > XEphem && \
sed -e 's,ShareDir: \.$$,ShareDir: ${TRUEPREFIX}/lib/X11/xephem,' XEphem.ad > XEphem && \
${INSTALL_DATA} XEphem ${PREFIX}/lib/X11/app-defaults
@cd ${WRKSRC}/GUI/xephem/auxil; \
for f in *; do \