pkgsrc/misc/astrolog/Makefile

58 lines
1.8 KiB
Makefile
Raw Normal View History

2009-08-30 03:12:05 +02:00
# $NetBSD: Makefile,v 1.36 2009/08/30 01:12:05 zafer Exp $
1997-10-11 23:53:59 +02:00
DISTNAME= ast54unx
PKGNAME= astrolog-5.40
PKGREVISION= 1
CATEGORIES= misc
2009-08-30 03:12:05 +02:00
MASTER_SITES= http://www.astrolog.org/ftp/ephem/ \
http://www.astrolog.org/ftp/ \
ftp://ftp.kiarchive.ru/pub/unix/magick/astrology/astrolog/
DISTFILES= ${DISTNAME}.shr ${EPHEM}
1997-10-11 23:53:59 +02:00
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.astrolog.org/
COMMENT= Astrology program for X11 and alpha-numeric terminals
LICENSE= astrolog-license
RESTRICTED= Do not sell or profit from this software in any way
NO_SRC_ON_CDROM=${RESTRICTED}
NO_BIN_ON_CDROM=${RESTRICTED}
PKG_DESTDIR_SUPPORT= user-destdir
WRKSRC= ${WRKDIR}
EPHEM= LRZ5_24 CHI_24 CPJV_24
EXTRACT_ONLY= ${DISTNAME}.shr
USE_X11BASE= yes
DIST_SUBDIR= astrolog
BUILD_TARGET= astrolog
1997-10-11 23:53:59 +02:00
INSTALLATION_DIRS= bin
1997-10-11 23:53:59 +02:00
do-install:
@${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/lib/astrolog
1997-10-11 23:53:59 +02:00
cd ${DISTDIR}/${DIST_SUBDIR} && \
${INSTALL_DATA} ${EPHEM} ${DESTDIR}${PREFIX}/lib/astrolog
1997-10-11 23:53:59 +02:00
cd ${WRKSRC} && \
if [ -f ${DESTDIR}${PREFIX}/lib/astrolog/astrolog.dat ] ; then \
${INSTALL_DATA} astrolog.dat ${DESTDIR}${PREFIX}/lib/astrolog/astrolog.dat-dist; \
1997-10-11 23:53:59 +02:00
else \
${INSTALL_DATA} astrolog.dat ${DESTDIR}${PREFIX}/lib/astrolog; \
1997-10-11 23:53:59 +02:00
fi
cd ${WRKSRC} && ${INSTALL_PROGRAM} astrolog ${DESTDIR}${PREFIX}/bin
@${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/doc/astrolog
1997-10-11 23:53:59 +02:00
cd ${WRKSRC} && \
${INSTALL_DATA} Helpfile.540 ${DESTDIR}${PREFIX}/share/doc/astrolog
1997-10-11 23:53:59 +02:00
cd ${WRKSRC} && \
${INSTALL_DATA} Update.540 ${DESTDIR}${PREFIX}/share/doc/astrolog
1997-10-11 23:53:59 +02:00
cd ${WRKSRC} && \
${INSTALL_DATA} README.540 ${DESTDIR}${PREFIX}/share/doc/astrolog
@${ECHO}
@${ECHO} "See the file ${PREFIX}/share/doc/astrolog/Helpfile.540 for"
@${ECHO} "help and tune ${PREFIX}/lib/astrolog/astrolog.dat"
1997-10-11 23:53:59 +02:00
2007-02-02 18:13:56 +01:00
.include "../../x11/libX11/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"