openbsd-ports/misc/astrolog/Makefile
espie 1958137a5f Kill NO_WRKSUBDIR.
Clean up a few deprecated variables on the fly.
2000-02-10 23:14:27 +00:00

49 lines
1.5 KiB
Makefile

# $OpenBSD: Makefile,v 1.6 2000/02/10 23:14:32 espie Exp $
# Original from: Ejovi Nuwere <ejovi@ejovi.net>
NEED_VERSION= 1.191
DISTNAME= ast53unx
PKGNAME= astrolog-5.30
CATEGORIES= misc
NO_CDROM= "NOFEE: Can not sell"
MASTER_SITES= http://www.astrolog.org/ftp/ephem/ \
http://www.astrolog.org/ftp/ \
ftp://ftp.kiarchive.ru/pub/unix/magick/astrology/astrolog/
EXTRACT_ONLY= ${DISTNAME}.shr
EPHEM= LRZ5_24 CHI_24 CPJV_24
DISTFILES= ${EXTRACT_ONLY} ${EPHEM}
MAINTAINER= ports@OpenBSD.ORG
EXTRACT_CMD= ${SH}
EXTRACT_BEFORE_ARGS=
EXTRACT_AFTER_ARGS=
DIST_SUBDIR= astrolog
ALL_TARGET= astrolog
WRKDIST= ${WRKDIR}
do-install:
-@${INSTALL_DATA_DIR} ${PREFIX}/lib/astrolog
cd ${FULLDISTDIR} && \
${INSTALL_DATA} ${EPHEM} ${PREFIX}/lib/astrolog
cd ${WRKSRC} && \
if [ -f ${PREFIX}/lib/astrolog/astrolog.dat ] ; then \
${INSTALL_DATA} astrolog.dat ${PREFIX}/lib/astrolog/astrolog.dat-dist; \
else \
${INSTALL_DATA} astrolog.dat ${PREFIX}/lib/astrolog; \
fi
cd ${WRKSRC} && ${INSTALL_PROGRAM} astrolog ${PREFIX}/bin
-@${INSTALL_DATA_DIR} ${PREFIX}/share/doc/astrolog
cd ${WRKSRC} && \
${INSTALL_DATA} Helpfile.530 ${PREFIX}/share/doc/astrolog
cd ${WRKSRC} && \
${INSTALL_DATA} Update.530 ${PREFIX}/share/doc/astrolog
cd ${WRKSRC} && \
${INSTALL_DATA} README.530 ${PREFIX}/share/doc/astrolog
@echo
@echo "See the file ${PREFIX}/share/doc/astrolog/Helpfile.530 for help"
@echo "and tune ${PREFIX}/lib/astrolog/astrolog.dat"
.include <bsd.port.mk>