1995-08-26 05:59:21 +00:00
|
|
|
# New ports collection makefile for: astrolog
|
2001-05-25 17:28:21 +00:00
|
|
|
# See some useful stuff at:
|
1997-01-13 22:57:00 +00:00
|
|
|
# http://rpkalf2.mach.uni-karlsruhe.de/~ferber/astrolog/
|
1996-07-14 06:57:41 +00:00
|
|
|
#
|
1995-08-26 05:59:21 +00:00
|
|
|
# Date created: 31 July 1995
|
|
|
|
# Whom: faulkner@cactus.org
|
|
|
|
#
|
1999-08-25 07:23:21 +00:00
|
|
|
# $FreeBSD$
|
1995-08-26 05:59:21 +00:00
|
|
|
#
|
|
|
|
|
2001-01-16 17:33:20 +00:00
|
|
|
PORTNAME= astrolog
|
2000-04-14 08:49:30 +00:00
|
|
|
PORTVERSION= 5.40
|
2006-01-26 03:46:56 +00:00
|
|
|
PORTREVISION= 2
|
2001-01-16 17:33:20 +00:00
|
|
|
CATEGORIES= misc
|
|
|
|
MASTER_SITES= http://www.astrolog.org/ftp/ephem/ \
|
1997-05-29 01:15:48 +00:00
|
|
|
http://www.astrolog.org/ftp/ \
|
1997-08-10 22:31:36 +00:00
|
|
|
ftp://ftp.kiarchive.ru/pub/unix/magick/astrology/astrolog/
|
2001-01-16 17:33:20 +00:00
|
|
|
EXTRACT_ONLY= ast54unx.shr
|
|
|
|
EPHEM= LRZ5_24 CHI_24 CPJV_24
|
|
|
|
DISTFILES= ${EXTRACT_ONLY} ${EPHEM}
|
1996-07-14 06:57:41 +00:00
|
|
|
|
2001-01-16 17:33:20 +00:00
|
|
|
MAINTAINER= ache@FreeBSD.org
|
2003-03-07 06:14:21 +00:00
|
|
|
COMMENT= An astrology program for X11 and alpha-numeric terminals
|
1996-11-11 05:50:23 +00:00
|
|
|
|
2006-01-26 03:46:56 +00:00
|
|
|
.if !defined(WITHOUT_X11)
|
1998-11-28 05:39:01 +00:00
|
|
|
USE_XLIB= yes
|
2006-01-26 03:46:56 +00:00
|
|
|
MAKE_ARGS= -DX11
|
|
|
|
.endif
|
2001-01-16 17:33:20 +00:00
|
|
|
EXTRACT_CMD= ${SH}
|
1999-02-03 11:12:01 +00:00
|
|
|
EXTRACT_BEFORE_ARGS= # empty
|
|
|
|
EXTRACT_AFTER_ARGS= # empty
|
2001-01-16 17:33:20 +00:00
|
|
|
DIST_SUBDIR= astrolog
|
|
|
|
ALL_TARGET= astrolog
|
|
|
|
NO_WRKSUBDIR= yes
|
1996-07-14 06:57:41 +00:00
|
|
|
|
2006-01-26 03:46:56 +00:00
|
|
|
post-patch:
|
|
|
|
@${REINPLACE_CMD} -e "s@malloc.h@stdlib.h@g" \
|
|
|
|
${WRKSRC}/astrolog.h ${WRKSRC}/placalc.h
|
2002-01-26 07:54:29 +00:00
|
|
|
|
1996-07-14 06:57:41 +00:00
|
|
|
do-install:
|
1997-01-13 22:57:00 +00:00
|
|
|
-@${MKDIR} ${PREFIX}/lib/astrolog
|
1997-05-29 01:15:48 +00:00
|
|
|
cd ${DISTDIR}/${DIST_SUBDIR} && \
|
|
|
|
${INSTALL_DATA} ${EPHEM} ${PREFIX}/lib/astrolog
|
1999-04-07 19:05:31 +00:00
|
|
|
cd ${WRKSRC}; \
|
|
|
|
${INSTALL_DATA} astrolog.dat ${PREFIX}/lib/astrolog/astrolog.dat-dist; \
|
|
|
|
if [ ! -f ${PREFIX}/lib/astrolog/astrolog.dat ] ; then \
|
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} && \
|
1999-04-03 02:02:16 +00:00
|
|
|
${INSTALL_DATA} Helpfile.540 ${PREFIX}/share/doc/astrolog
|
1997-01-13 22:57:00 +00:00
|
|
|
cd ${WRKSRC} && \
|
1999-04-03 02:02:16 +00:00
|
|
|
${INSTALL_DATA} Update.540 ${PREFIX}/share/doc/astrolog
|
1997-01-13 22:57:00 +00:00
|
|
|
cd ${WRKSRC} && \
|
1999-04-03 02:02:16 +00:00
|
|
|
${INSTALL_DATA} README.540 ${PREFIX}/share/doc/astrolog
|
1999-08-27 22:30:39 +00:00
|
|
|
@${ECHO_MSG}
|
|
|
|
@${ECHO_MSG} "See the file ${PREFIX}/share/doc/astrolog/Helpfile.540 for help"
|
|
|
|
@${ECHO_MSG} "and tune ${PREFIX}/lib/astrolog/astrolog.dat"
|
1995-08-26 05:59:21 +00:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|