pkgsrc/games/fortunes-h2g2/Makefile

28 lines
781 B
Makefile

# $NetBSD: Makefile,v 1.7 2012/10/06 11:54:38 asau Exp $
#
DISTNAME= fortunes-h2g2-0.1
CATEGORIES= games
MASTER_SITES= http://www.netmeister.org/apps/
EXTRACT_SUFX= .gz
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.netmeister.org/misc.html
COMMENT= Fortunes from Douglas Adams' "Hitchhiker's Guide to the Galaxy"
BUILD_DEPENDS+= fortune-strfile-[0-9]*:../../games/fortune-strfile
STRFILE= ${LOCALBASE}/bin/strfile
WRKSRC= ${WRKDIR}
do-build:
${STRFILE} ${WRKDIR}/${PKGNAME}
do-install:
${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/games/fortune/
${INSTALL_DATA} ${WRKDIR}/${PKGNAME} \
${DESTDIR}${PREFIX}/share/games/fortune/h2g2
${INSTALL_DATA} ${WRKDIR}/${PKGNAME}.dat \
${DESTDIR}${PREFIX}/share/games/fortune/h2g2.dat
.include "../../mk/bsd.pkg.mk"