# $NetBSD: Makefile,v 1.4 2008/03/04 06:59:04 jlam Exp $ # DISTNAME= fortunes-h2g2-0.1 CATEGORIES= games MASTER_SITES= http://www.netmeister.org/apps/ EXTRACT_SUFX= .gz MAINTAINER= jschauma@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 PKG_DESTDIR_SUPPORT= user-destdir 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"