1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-29 05:38:00 +00:00
freebsd-ports/misc/astrolog/Makefile

62 lines
1.8 KiB
Makefile
Raw Normal View History

# New ports collection makefile for: astrolog
# 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
#
# Date created: 31 July 1995
# Whom: faulkner@cactus.org
#
1999-08-25 07:23:21 +00:00
# $FreeBSD$
#
PORTNAME= astrolog
2000-04-14 08:49:30 +00:00
PORTVERSION= 5.40
PORTREVISION= 2
CATEGORIES= misc
MASTER_SITES= http://www.astrolog.org/ftp/ephem/ \
1997-05-29 01:15:48 +00:00
http://www.astrolog.org/ftp/ \
ftp://ftp.kiarchive.ru/pub/unix/magick/astrology/astrolog/
EXTRACT_ONLY= ast54unx.shr
EPHEM= LRZ5_24 CHI_24 CPJV_24
DISTFILES= ${EXTRACT_ONLY} ${EPHEM}
1996-07-14 06:57:41 +00:00
MAINTAINER= ache@FreeBSD.org
COMMENT= An astrology program for X11 and alpha-numeric terminals
.if !defined(WITHOUT_X11)
1998-11-28 05:39:01 +00:00
USE_XLIB= yes
MAKE_ARGS= -DX11
.endif
EXTRACT_CMD= ${SH}
EXTRACT_BEFORE_ARGS= # empty
EXTRACT_AFTER_ARGS= # empty
DIST_SUBDIR= astrolog
ALL_TARGET= astrolog
NO_WRKSUBDIR= yes
1996-07-14 06:57:41 +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
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
@${ECHO_MSG}
@${ECHO_MSG} "See the file ${PREFIX}/share/doc/astrolog/Helpfile.540 for help"
@${ECHO_MSG} "and tune ${PREFIX}/lib/astrolog/astrolog.dat"
.include <bsd.port.mk>