freebsd-ports/misc/astrolog/Makefile

56 lines
1.7 KiB
Makefile
Raw Normal View History

# New ports collection makefile for: astrolog
1996-07-14 02:57:41 -04:00
#
1997-01-13 17:57:00 -05:00
# http://rpkalf2.mach.uni-karlsruhe.de/~ferber/astrolog/
1996-07-14 02:57:41 -04:00
# http://www.magitech.com/~cruiser1/astrolog.htm
#
1999-04-02 21:02:16 -05:00
# Version required: 5.*
# Date created: 31 July 1995
# Whom: faulkner@cactus.org
#
1999-04-02 21:02:16 -05:00
# $Id: Makefile,v 1.14 1999/02/03 11:11:54 asami Exp $
#
1999-04-02 21:02:16 -05:00
DISTNAME= ast54unx
PKGNAME= astrolog-5.40
1997-01-13 17:57:00 -05:00
CATEGORIES= misc
1997-05-28 21:15:48 -04:00
MASTER_SITES= http://www.astrolog.org/ftp/ephem/ \
http://www.astrolog.org/ftp/ \
ftp://ftp.kiarchive.ru/pub/unix/magick/astrology/astrolog/
1997-05-28 21:15:48 -04:00
EXTRACT_ONLY= ${DISTNAME}.shr
EPHEM= LRZ5_24 CHI_24 CPJV_24
DISTFILES= ${EXTRACT_ONLY} ${EPHEM}
1996-07-14 02:57:41 -04:00
MAINTAINER= ache@FreeBSD.ORG
1998-11-28 00:39:01 -05:00
USE_XLIB= yes
1997-07-13 14:49:31 -04:00
EXTRACT_CMD= ${SH}
EXTRACT_BEFORE_ARGS= # empty
EXTRACT_AFTER_ARGS= # empty
DIST_SUBDIR= astrolog
1997-01-13 17:57:00 -05:00
ALL_TARGET= astrolog
NO_WRKSUBDIR= Yes
1996-07-14 02:57:41 -04:00
do-install:
1997-01-13 17:57:00 -05:00
-@${MKDIR} ${PREFIX}/lib/astrolog
1997-05-28 21:15:48 -04:00
cd ${DISTDIR}/${DIST_SUBDIR} && \
${INSTALL_DATA} ${EPHEM} ${PREFIX}/lib/astrolog
1997-01-13 17:57:00 -05:00
cd ${WRKSRC} && \
1996-07-14 02:57:41 -04:00
if [ -f ${PREFIX}/lib/astrolog/astrolog.dat ] ; then \
1997-01-13 17:57:00 -05:00
${INSTALL_DATA} astrolog.dat ${PREFIX}/lib/astrolog/astrolog.dat-dist; \
1996-07-14 02:57:41 -04:00
else \
1997-01-13 17:57:00 -05:00
${INSTALL_DATA} astrolog.dat ${PREFIX}/lib/astrolog; \
1996-07-14 02:57:41 -04:00
fi
1997-01-13 17:57:00 -05:00
cd ${WRKSRC} && ${INSTALL_PROGRAM} astrolog ${PREFIX}/bin
-@${MKDIR} ${PREFIX}/share/doc/astrolog
cd ${WRKSRC} && \
1999-04-02 21:02:16 -05:00
${INSTALL_DATA} Helpfile.540 ${PREFIX}/share/doc/astrolog
1997-01-13 17:57:00 -05:00
cd ${WRKSRC} && \
1999-04-02 21:02:16 -05:00
${INSTALL_DATA} Update.540 ${PREFIX}/share/doc/astrolog
1997-01-13 17:57:00 -05:00
cd ${WRKSRC} && \
1999-04-02 21:02:16 -05:00
${INSTALL_DATA} README.540 ${PREFIX}/share/doc/astrolog
1996-07-14 02:57:41 -04:00
@echo
1999-04-02 21:02:16 -05:00
@echo "See the file ${PREFIX}/share/doc/astrolog/Helpfile.540 for help"
1997-01-13 17:57:00 -05:00
@echo "and tune ${PREFIX}/lib/astrolog/astrolog.dat"
.include <bsd.port.mk>