mkdir -> ${INSTALL_DATA_DIR}
This commit is contained in:
parent
344abbd7a3
commit
b2412d83d5
@ -1,8 +1,8 @@
|
||||
# $OpenBSD: Makefile,v 1.16 2000/09/12 13:13:16 brad Exp $
|
||||
# $OpenBSD: Makefile,v 1.17 2001/03/14 03:49:34 brad Exp $
|
||||
|
||||
DISTNAME= xephem-3.2.3
|
||||
CATEGORIES= astro
|
||||
NEED_VERSION= 1.320
|
||||
NEED_VERSION= 1.336
|
||||
MASTER_SITES= ftp://iraf.noao.edu/contrib/xephem/
|
||||
|
||||
MAINTAINER= ports@openbsd.org
|
||||
@ -12,7 +12,6 @@ PERMIT_PACKAGE_FTP= Yes
|
||||
PERMIT_DISTFILES_CDROM= Yes
|
||||
PERMIT_DISTFILES_FTP= Yes
|
||||
|
||||
|
||||
USE_MOTIF= Yes
|
||||
CONFIGURE_STYLE= imake
|
||||
|
||||
@ -27,6 +26,9 @@ do-build:
|
||||
${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} -f ${MAKE_FILE} ${ALL_TARGET}
|
||||
|
||||
do-install:
|
||||
${INSTALL_DATA_DIR} ${PREFIX}/lib/X11/xephem/auxil
|
||||
${INSTALL_DATA_DIR} ${PREFIX}/lib/X11/xephem/catalogs
|
||||
${INSTALL_DATA_DIR} ${PREFIX}/lib/X11/xephem/tools
|
||||
@cd ${WRKSRC}/GUI/xephem && \
|
||||
${SETENV} ${MAKE_ENV} \
|
||||
${MAKE} ${MAKE_FLAGS} -f ${MAKE_FILE} ${INSTALL_TARGET}
|
||||
@ -36,22 +38,18 @@ do-install:
|
||||
@cd ${WRKSRC}/GUI/xephem && \
|
||||
sed -e 's,: .$$,: ${TRUEPREFIX}/lib/X11/xephem,' XEphem.ad > XEphem && \
|
||||
${INSTALL_DATA} XEphem ${PREFIX}/lib/X11/app-defaults
|
||||
@mkdir -p ${PREFIX}/lib/X11/xephem
|
||||
@mkdir -p ${PREFIX}/lib/X11/xephem/auxil
|
||||
@cd ${WRKSRC}/GUI/xephem/auxil; \
|
||||
for f in *; do \
|
||||
${INSTALL_DATA} $$f ${PREFIX}/lib/X11/xephem/auxil; \
|
||||
done
|
||||
@mkdir -p ${PREFIX}/lib/X11/xephem/catalogs
|
||||
@cd ${WRKSRC}/GUI/xephem/catalogs; \
|
||||
for f in *; do \
|
||||
${INSTALL_DATA} $$f ${PREFIX}/lib/X11/xephem/catalogs; \
|
||||
done
|
||||
@mkdir -p ${PREFIX}/lib/X11/xephem/tools
|
||||
@cd ${WRKSRC}/GUI/xephem/tools; \
|
||||
for f in *; do \
|
||||
if [ -d $$f ]; then \
|
||||
mkdir -p ${PREFIX}/lib/X11/xephem/tools/$$f; \
|
||||
${INSTALL_DATA_DIR} ${PREFIX}/lib/X11/xephem/tools/$$f; \
|
||||
(cd $$f; \
|
||||
for i in *; do \
|
||||
${INSTALL_DATA} $$i ${PREFIX}/lib/X11/xephem/tools/$$f; \
|
||||
|
Loading…
Reference in New Issue
Block a user