diff options
author | Andrey A. Chernov <ache@FreeBSD.org> | 2007-06-26 09:00:45 +0000 |
---|---|---|
committer | Andrey A. Chernov <ache@FreeBSD.org> | 2007-06-26 09:00:45 +0000 |
commit | 8d192ded063c8f364c5de6fcd28ac6c8456edcb2 (patch) | |
tree | aa3cfb954473af8c3dc06292999ac26f763716cf /misc/astrolog | |
parent | 89e355f39a4ecebd51a4829d81da62ca43e1e2e9 (diff) |
Back out v1.33 because it requires unzip presence at 'install'
stage (not at 'extract' stage) and this can't be properly handled.
(We don't have INSTALL_DEPENDS and similar to it RUN_DEPENDS used on
'install' stage too adds unneded depend into the package itself)
Notes
Notes:
svn path=/head/; revision=194285
Diffstat (limited to 'misc/astrolog')
-rw-r--r-- | misc/astrolog/Makefile | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/misc/astrolog/Makefile b/misc/astrolog/Makefile index b52920227973..c739ee3a2f6a 100644 --- a/misc/astrolog/Makefile +++ b/misc/astrolog/Makefile @@ -40,13 +40,18 @@ DIST_SUBDIR= astrolog ALL_TARGET= astrolog NO_WRKSUBDIR= yes +post-extract: + -@${MKDIR} ${WRKDIR}/ephem + ${UNZIP_CMD} -qao ${_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 - ${UNZIP_CMD} -qao ${_DISTDIR}/${EPHEM} -d ${PREFIX}/lib/astrolog + cd ${WRKDIR}/ephem && \ + ${INSTALL_DATA} * ${PREFIX}/lib/astrolog cd ${WRKSRC}; \ ${INSTALL_DATA} astrolog.dat ${PREFIX}/lib/astrolog/astrolog.dat-dist; \ if [ ! -f ${PREFIX}/lib/astrolog/astrolog.dat ] ; then \ |