openbsd-ports/misc/astrolog/Makefile

49 lines
1.4 KiB
Makefile
Raw Normal View History

2003-03-31 09:27:18 -05:00
# $OpenBSD: Makefile,v 1.21 2003/03/31 14:27:18 sturm Exp $
1997-12-17 18:25:47 -05:00
COMMENT= "astrology program for X11 and alpha-numeric terminals"
2002-10-27 16:07:53 -05:00
DISTNAME= ast53unx
PKGNAME= astrolog-5.30
CATEGORIES= misc
1998-04-11 23:17:09 -04:00
2002-10-27 16:07:53 -05:00
MASTER_SITES= http://www.astrolog.org/ftp/ephem/ \
1997-12-17 18:25:47 -05:00
http://www.astrolog.org/ftp/ \
ftp://ftp.kiarchive.ru/pub/unix/magick/astrology/astrolog/
2002-10-27 16:07:53 -05:00
EXTRACT_ONLY= ${DISTNAME}.shr
EPHEM= LRZ5_24 CHI_24 CPJV_24
DISTFILES= ${EXTRACT_ONLY} ${EPHEM}
1997-12-17 18:25:47 -05:00
2000-03-22 14:58:12 -05:00
PERMIT_PACKAGE_CDROM= No
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= No
PERMIT_DISTFILES_FTP= Yes
EXTRACT_CASES= *.shr) ${_PERL_FIX_SHAR} ${FULLDISTDIR}/$$archive | /bin/sh;;
2003-03-31 09:27:18 -05:00
USE_X11= Yes
2002-10-27 16:07:53 -05:00
DIST_SUBDIR= astrolog
ALL_TARGET= astrolog
WRKDIST= ${WRKDIR}
2002-10-27 16:07:53 -05:00
NO_REGRESS= Yes
1997-12-17 18:25:47 -05:00
do-install:
-@${INSTALL_DATA_DIR} ${PREFIX}/lib/astrolog
1999-09-22 06:44:21 -04:00
cd ${FULLDISTDIR} && \
1997-12-17 18:25:47 -05: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
-@${INSTALL_DATA_DIR} ${PREFIX}/share/doc/astrolog
1997-12-17 18:25:47 -05:00
cd ${WRKSRC} && \
${INSTALL_DATA} Helpfile.530 ${PREFIX}/share/doc/astrolog
cd ${WRKSRC} && \
${INSTALL_DATA} Update.530 ${PREFIX}/share/doc/astrolog
cd ${WRKSRC} && \
${INSTALL_DATA} README.530 ${PREFIX}/share/doc/astrolog
.include <bsd.port.mk>