1995-08-26 01:59:21 -04:00
|
|
|
# New ports collection makefile for: astrolog
|
2001-05-25 13:28:21 -04:00
|
|
|
# See some useful stuff at:
|
1997-01-13 17:57:00 -05:00
|
|
|
# http://rpkalf2.mach.uni-karlsruhe.de/~ferber/astrolog/
|
1996-07-14 02:57:41 -04:00
|
|
|
#
|
1995-08-26 01:59:21 -04:00
|
|
|
# Date created: 31 July 1995
|
|
|
|
# Whom: faulkner@cactus.org
|
|
|
|
#
|
1999-08-25 03:23:21 -04:00
|
|
|
# $FreeBSD$
|
1995-08-26 01:59:21 -04:00
|
|
|
#
|
|
|
|
|
2001-01-16 12:33:20 -05:00
|
|
|
PORTNAME= astrolog
|
2000-04-14 04:49:30 -04:00
|
|
|
PORTVERSION= 5.40
|
2010-03-23 09:20:05 -04:00
|
|
|
PORTREVISION= 10
|
2007-06-22 22:33:29 -04:00
|
|
|
CATEGORIES= misc
|
2007-06-21 18:53:21 -04:00
|
|
|
MASTER_SITES= http://www.astrolog.org/ftp/ephem/:ephem \
|
|
|
|
http://www.astrolog.org/ftp/:dist
|
2001-01-16 12:33:20 -05:00
|
|
|
EXTRACT_ONLY= ast54unx.shr
|
2007-06-21 18:53:21 -04:00
|
|
|
EPHEM= ephemall.zip
|
|
|
|
DISTFILES= ${EXTRACT_ONLY}:dist ${EPHEM}:ephem
|
1996-07-14 02:57:41 -04:00
|
|
|
|
2001-01-16 12:33:20 -05:00
|
|
|
MAINTAINER= ache@FreeBSD.org
|
2003-03-07 01:14:21 -05:00
|
|
|
COMMENT= An astrology program for X11 and alpha-numeric terminals
|
1996-11-11 00:50:23 -05:00
|
|
|
|
2007-06-22 22:33:29 -04:00
|
|
|
USE_ZIP= yes
|
2006-01-25 22:46:56 -05:00
|
|
|
.if !defined(WITHOUT_X11)
|
- Remove unneeded dependency from gtk12/gtk20 [1]
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG
- Remove X11BASE support in favor of LOCALBASE or PREFIX
- Use USE_LDCONFIG instead of INSTALLS_SHLIB
- Remove unneeded USE_GCC 3.4+
Thanks to all Helpers:
Dmitry Marakasov, Chess Griffin, beech@, dinoex, rafan, gahr,
ehaupt, nox, itetcu, flz, pav
PR: 116263
Tested on: pointyhat
Approved by: portmgr (pav)
2008-04-19 13:56:05 -04:00
|
|
|
USE_XORG= x11
|
2006-01-25 22:46:56 -05:00
|
|
|
MAKE_ARGS= -DX11
|
|
|
|
.endif
|
2001-01-16 12:33:20 -05:00
|
|
|
EXTRACT_CMD= ${SH}
|
1999-02-03 06:12:01 -05:00
|
|
|
EXTRACT_BEFORE_ARGS= # empty
|
|
|
|
EXTRACT_AFTER_ARGS= # empty
|
2001-01-16 12:33:20 -05:00
|
|
|
DIST_SUBDIR= astrolog
|
|
|
|
ALL_TARGET= astrolog
|
|
|
|
NO_WRKSUBDIR= yes
|
1996-07-14 02:57:41 -04:00
|
|
|
|
2007-06-26 05:00:45 -04:00
|
|
|
post-extract:
|
|
|
|
-@${MKDIR} ${WRKDIR}/ephem
|
|
|
|
${UNZIP_CMD} -qao ${_DISTDIR}/${EPHEM} -d ${WRKDIR}/ephem
|
|
|
|
|
2006-01-25 22:46:56 -05:00
|
|
|
post-patch:
|
|
|
|
@${REINPLACE_CMD} -e "s@malloc.h@stdlib.h@g" \
|
|
|
|
${WRKSRC}/astrolog.h ${WRKSRC}/placalc.h
|
2002-01-26 02:54:29 -05:00
|
|
|
|
1996-07-14 02:57:41 -04:00
|
|
|
do-install:
|
1997-01-13 17:57:00 -05:00
|
|
|
-@${MKDIR} ${PREFIX}/lib/astrolog
|
2007-06-26 05:00:45 -04:00
|
|
|
cd ${WRKDIR}/ephem && \
|
|
|
|
${INSTALL_DATA} * ${PREFIX}/lib/astrolog
|
1999-04-07 15:05:31 -04:00
|
|
|
cd ${WRKSRC}; \
|
|
|
|
${INSTALL_DATA} astrolog.dat ${PREFIX}/lib/astrolog/astrolog.dat-dist; \
|
|
|
|
if [ ! -f ${PREFIX}/lib/astrolog/astrolog.dat ] ; then \
|
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
|
1999-08-27 18:30:39 -04: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 01:59:21 -04:00
|
|
|
|
2007-06-26 15:47:55 -04:00
|
|
|
.include <bsd.port.mk>
|