123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657 |
- # $OpenBSD: Makefile,v 1.29 2014/11/30 05:41:34 brad Exp $
- COMMENT= astrology program for X11 and alpha-numeric terminals
- V= 5.40
- DISTNAME= ast54unx
- PKGNAME= astrolog-${V}
- REVISION= 1
- CATEGORIES= misc
- HOMEPAGE= http://www.astrolog.org/astrolog.htm
- MASTER_SITES= http://www.astrolog.org/ftp/ephem/ \
- http://www.astrolog.org/ftp/ \
- ftp://ftp.kiarchive.ru/pub/unix/magick/astrology/astrolog/
- EXTRACT_ONLY= ${DISTNAME}.shr
- EPHEM= LRZ5_24 CHI_24 CPJV_24
- DISTFILES= ${EXTRACT_ONLY} ${EPHEM}
- PERMIT_PACKAGE_CDROM= No
- PERMIT_PACKAGE_FTP= Yes
- WANTLIB= X11 c m pthread-stubs xcb
- EXTRACT_CASES= *.shr) ${_PERL_FIX_SHAR} ${FULLDISTDIR}/$$archive | /bin/sh;;
- DIST_SUBDIR= astrolog
- ALL_TARGET= astrolog
- WRKDIST= ${WRKDIR}
- NO_TEST= Yes
- _V= ${V:S/.//}
- SUBST_VARS= _V
- do-install:
- -@${INSTALL_DATA_DIR} ${PREFIX}/lib/astrolog
- cd ${FULLDISTDIR} && \
- ${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
- cd ${WRKSRC} && \
- ${INSTALL_DATA} Helpfile.${_V} ${PREFIX}/share/doc/astrolog
- cd ${WRKSRC} && \
- ${INSTALL_DATA} Update.${_V} ${PREFIX}/share/doc/astrolog
- cd ${WRKSRC} && \
- ${INSTALL_DATA} README.${_V} ${PREFIX}/share/doc/astrolog
- .include <bsd.port.mk>
|