2010-11-05 08:24:49 +00:00
|
|
|
# $OpenBSD: Makefile,v 1.27 2010/11/05 08:24:49 sthen Exp $
|
1997-12-17 23:25:47 +00:00
|
|
|
|
2007-09-15 23:54:16 +00:00
|
|
|
COMMENT= astrology program for X11 and alpha-numeric terminals
|
2001-05-06 02:29:37 +00:00
|
|
|
|
2009-01-15 15:32:24 +00:00
|
|
|
V= 5.40
|
|
|
|
DISTNAME= ast54unx
|
2010-11-05 08:24:49 +00:00
|
|
|
PKGNAME= astrolog-${V}
|
|
|
|
REVISION= 0
|
2002-10-27 21:07:53 +00:00
|
|
|
CATEGORIES= misc
|
1998-04-12 03:17:09 +00:00
|
|
|
|
2009-01-15 15:32:24 +00:00
|
|
|
HOMEPAGE= http://www.astrolog.org/astrolog.htm
|
|
|
|
|
2002-10-27 21:07:53 +00:00
|
|
|
MASTER_SITES= http://www.astrolog.org/ftp/ephem/ \
|
1997-12-17 23:25:47 +00:00
|
|
|
http://www.astrolog.org/ftp/ \
|
|
|
|
ftp://ftp.kiarchive.ru/pub/unix/magick/astrology/astrolog/
|
2009-01-15 15:32:24 +00:00
|
|
|
|
2002-10-27 21:07:53 +00:00
|
|
|
EXTRACT_ONLY= ${DISTNAME}.shr
|
|
|
|
EPHEM= LRZ5_24 CHI_24 CPJV_24
|
|
|
|
DISTFILES= ${EXTRACT_ONLY} ${EPHEM}
|
1997-12-17 23:25:47 +00:00
|
|
|
|
2000-03-22 19:58:12 +00:00
|
|
|
PERMIT_PACKAGE_CDROM= No
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= No
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
2009-01-15 15:32:24 +00:00
|
|
|
|
2009-08-10 06:29:51 +00:00
|
|
|
WANTLIB= X11 c m pthread-stubs xcb
|
2000-03-22 19:58:12 +00:00
|
|
|
|
2002-05-08 18:32:02 +00:00
|
|
|
EXTRACT_CASES= *.shr) ${_PERL_FIX_SHAR} ${FULLDISTDIR}/$$archive | /bin/sh;;
|
2000-12-14 13:22:59 +00:00
|
|
|
|
2002-10-27 21:07:53 +00:00
|
|
|
DIST_SUBDIR= astrolog
|
|
|
|
ALL_TARGET= astrolog
|
2000-02-10 23:14:27 +00:00
|
|
|
WRKDIST= ${WRKDIR}
|
2009-01-15 15:32:24 +00:00
|
|
|
|
2002-10-27 21:07:53 +00:00
|
|
|
NO_REGRESS= Yes
|
1997-12-17 23:25:47 +00:00
|
|
|
|
2009-01-15 15:32:24 +00:00
|
|
|
_V= ${V:S/.//}
|
|
|
|
SUBST_VARS= _V
|
|
|
|
|
1997-12-17 23:25:47 +00:00
|
|
|
do-install:
|
2000-02-10 23:14:27 +00:00
|
|
|
-@${INSTALL_DATA_DIR} ${PREFIX}/lib/astrolog
|
1999-09-22 10:44:21 +00:00
|
|
|
cd ${FULLDISTDIR} && \
|
1997-12-17 23:25:47 +00:00
|
|
|
${INSTALL_DATA} ${EPHEM} ${PREFIX}/lib/astrolog
|
|
|
|
cd ${WRKSRC} && \
|
|
|
|
if [ -f ${PREFIX}/lib/astrolog/astrolog.dat ] ; then \
|
|
|
|
${INSTALL_DATA} astrolog.dat ${PREFIX}/lib/astrolog/astrolog.dat-dist; \
|
|
|
|
else \
|
|
|
|
${INSTALL_DATA} astrolog.dat ${PREFIX}/lib/astrolog; \
|
|
|
|
fi
|
|
|
|
cd ${WRKSRC} && ${INSTALL_PROGRAM} astrolog ${PREFIX}/bin
|
2000-02-10 23:14:27 +00:00
|
|
|
-@${INSTALL_DATA_DIR} ${PREFIX}/share/doc/astrolog
|
1997-12-17 23:25:47 +00:00
|
|
|
cd ${WRKSRC} && \
|
2009-01-15 15:32:24 +00:00
|
|
|
${INSTALL_DATA} Helpfile.${_V} ${PREFIX}/share/doc/astrolog
|
1997-12-17 23:25:47 +00:00
|
|
|
cd ${WRKSRC} && \
|
2009-01-15 15:32:24 +00:00
|
|
|
${INSTALL_DATA} Update.${_V} ${PREFIX}/share/doc/astrolog
|
1997-12-17 23:25:47 +00:00
|
|
|
cd ${WRKSRC} && \
|
2009-01-15 15:32:24 +00:00
|
|
|
${INSTALL_DATA} README.${_V} ${PREFIX}/share/doc/astrolog
|
1997-12-17 23:25:47 +00:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|