summaryrefslogtreecommitdiff
path: root/misc/astrolog
diff options
context:
space:
mode:
authorAndrey A. Chernov <ache@FreeBSD.org>2007-06-23 02:51:14 +0000
committerAndrey A. Chernov <ache@FreeBSD.org>2007-06-23 02:51:14 +0000
commit854b8ce0db1ae31611e73b81a332cc907dbf8f42 (patch)
treef0523d72d6494e25a295ea44ca1e8d437b2c2ab5 /misc/astrolog
parentRemove additional category (diff)
Install ephemeris files directly on do-install step
Notes
Notes: svn path=/head/; revision=194104
Diffstat (limited to 'misc/astrolog')
-rw-r--r--misc/astrolog/Makefile7
1 files changed, 1 insertions, 6 deletions
diff --git a/misc/astrolog/Makefile b/misc/astrolog/Makefile
index a1bccec2b295..5ba2dc70994d 100644
--- a/misc/astrolog/Makefile
+++ b/misc/astrolog/Makefile
@@ -33,18 +33,13 @@ DIST_SUBDIR= astrolog
ALL_TARGET= astrolog
NO_WRKSUBDIR= yes
-post-extract:
- -@${MKDIR} ${WRKDIR}/ephem
- ${UNZIP_CMD} -a -qo ${_DISTDIR}/${EPHEM} -d ${WRKDIR}/ephem
-
post-patch:
@${REINPLACE_CMD} -e "s@malloc.h@stdlib.h@g" \
${WRKSRC}/astrolog.h ${WRKSRC}/placalc.h
do-install:
-@${MKDIR} ${PREFIX}/lib/astrolog
- cd ${WRKDIR}/ephem && \
- ${INSTALL_DATA} * ${PREFIX}/lib/astrolog
+ ${UNZIP_CMD} -qao ${_DISTDIR}/${EPHEM} -d ${PREFIX}/lib/astrolog
cd ${WRKSRC}; \
${INSTALL_DATA} astrolog.dat ${PREFIX}/lib/astrolog/astrolog.dat-dist; \
if [ ! -f ${PREFIX}/lib/astrolog/astrolog.dat ] ; then \