1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-27 21:29:02 +00:00
freebsd-ports/misc/astrolog/Makefile

62 lines
1.9 KiB
Makefile
Raw Normal View History

# New ports collection makefile for: astrolog
1996-07-14 06:57:41 +00:00
#
1997-01-13 22:57:00 +00:00
# http://rpkalf2.mach.uni-karlsruhe.de/~ferber/astrolog/
1996-07-14 06:57:41 +00:00
# http://www.magitech.com/~cruiser1/astrolog.htm
#
1997-01-13 22:57:00 +00:00
# Version required: 5.30
# Date created: 31 July 1995
# Whom: faulkner@cactus.org
#
1997-01-24 10:20:50 +00:00
# $Id: Makefile,v 1.7 1997/01/13 22:56:39 ache Exp $
#
1997-01-13 22:57:00 +00:00
DISTNAME= ast53src
1997-01-24 10:20:50 +00:00
PKGNAME= astrolog-5.30
1997-01-13 22:57:00 +00:00
CATEGORIES= misc
MASTER_SITES= http://rpkalf2.mach.uni-karlsruhe.de/~ferber/astrolog/
DISTFILES= ${EXTRACT_ONLY} ast53dos.zip
1996-07-14 06:57:41 +00:00
MAINTAINER= ache@FreeBSD.ORG
1997-01-13 22:57:00 +00:00
BUILD_DEPENDS= unzip:${PORTSDIR}/archivers/unzip
1997-01-24 10:20:50 +00:00
EXTRACT_ONLY= ${DISTNAME}.zip
1997-01-13 22:57:00 +00:00
EXTRACT_CMD= unzip
EXTRACT_ARGS= -oqLaa
DIST_SUBDIR= astrolog
1997-01-13 22:57:00 +00:00
MAKEFILE= makefile.unx
ALL_TARGET= astrolog
NO_WRKSUBDIR= Yes
1996-07-14 06:57:41 +00:00
1997-01-13 22:57:00 +00:00
EPHEM= LRZ5_24 CHI_24 CPJV_24
MISC= helpfile.530 update.530
1996-07-14 06:57:41 +00:00
post-extract:
1997-01-13 22:57:00 +00:00
cd ${WRKSRC} && \
unzip -oq ${DISTDIR}/${DIST_SUBDIR}/ast53dos.zip ${EPHEM}
cd ${WRKSRC} && \
unzip -oqLaa ${DISTDIR}/${DIST_SUBDIR}/ast53dos.zip ${MISC}
1996-07-14 06:57:41 +00:00
do-install:
1997-01-13 22:57:00 +00:00
-@${MKDIR} ${PREFIX}/lib/astrolog
cd ${WRKSRC} && ${INSTALL_DATA} ${EPHEM} ${PREFIX}/lib/astrolog
cd ${WRKSRC} && \
1996-07-14 06:57:41 +00:00
if [ -f ${PREFIX}/lib/astrolog/astrolog.dat ] ; then \
1997-01-13 22:57:00 +00:00
${INSTALL_DATA} astrolog.dat ${PREFIX}/lib/astrolog/astrolog.dat-dist; \
1996-07-14 06:57:41 +00:00
else \
1997-01-13 22:57:00 +00:00
${INSTALL_DATA} astrolog.dat ${PREFIX}/lib/astrolog; \
1996-07-14 06:57:41 +00:00
fi
1997-01-13 22:57:00 +00:00
cd ${WRKSRC} && ${INSTALL_PROGRAM} astrolog ${PREFIX}/bin
-@${MKDIR} ${PREFIX}/share/doc/astrolog
cd ${WRKSRC} && \
${INSTALL_DATA} helpfile.530 ${PREFIX}/share/doc/astrolog/Helpfile.530
cd ${WRKSRC} && \
${INSTALL_DATA} update.530 ${PREFIX}/share/doc/astrolog/Update.530
cd ${WRKSRC} && \
${INSTALL_DATA} readme.530 ${PREFIX}/share/doc/astrolog/Readme.530
1996-07-14 06:57:41 +00:00
@echo
1997-01-13 22:57:00 +00:00
@echo "See the file ${PREFIX}/share/doc/astrolog/Helpfile.530 for help"
@echo "and tune ${PREFIX}/lib/astrolog/astrolog.dat"
.include <bsd.port.mk>