Do not install outside fake root.

This commit is contained in:
naddy 2002-04-08 19:05:16 +00:00
parent 31426c3057
commit d1bc770093

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.22 2002/03/21 20:35:41 espie Exp $
# $OpenBSD: Makefile,v 1.23 2002/04/08 19:05:16 naddy Exp $
COMMENT= "interactive astronomical ephemeris"
DISTNAME= xephem-3.2.3
@ -32,10 +32,10 @@ do-install:
${INSTALL_DATA_DIR} ${PREFIX}/lib/X11/xephem/tools
@cd ${WRKSRC}/GUI/xephem && \
${SETENV} ${MAKE_ENV} \
${MAKE} ${MAKE_FLAGS} -f ${MAKE_FILE} ${INSTALL_TARGET}
${MAKE} ${FAKE_FLAGS} -f ${MAKE_FILE} ${INSTALL_TARGET}
@cd ${WRKSRC}/GUI/xephem && \
${SETENV} ${MAKE_ENV} \
${MAKE} ${MAKE_FLAGS} -f ${MAKE_FILE} install.man
${MAKE} ${FAKE_FLAGS} -f ${MAKE_FILE} install.man
@cd ${WRKSRC}/GUI/xephem && \
sed -e 's,: .$$,: ${TRUEPREFIX}/lib/X11/xephem,' XEphem.ad > XEphem && \
${INSTALL_DATA} XEphem ${PREFIX}/lib/X11/app-defaults
@ -59,7 +59,5 @@ do-install:
${INSTALL_DATA} $$f ${PREFIX}/lib/X11/xephem/tools; \
fi; \
done
${INSTALL_PROGRAM} ${WRKSRC}/GUI/xephem/xephem ${PREFIX}/bin
${INSTALL_DATA} ${WRKSRC}/GUI/xephem/xephem.0 ${PREFIX}/man/cat1
.include <bsd.port.mk>