openbsd-ports/games/hackdata/Makefile

46 lines
1.3 KiB
Makefile
Raw Normal View History

2010-11-16 06:23:25 -05:00
# $OpenBSD: Makefile,v 1.14 2010/11/16 11:23:27 espie Exp $
2010-11-16 06:23:25 -05:00
COMMENT = common data for the nethack/slash ports
V = 3.4.3
DISTNAME = nethack-$V
PKGNAME = hackdata-$V
CATEGORIES = games
2002-10-26 16:44:38 -04:00
2010-11-16 06:23:25 -05:00
MASTER_SITES = ${MASTER_SITE_SOURCEFORGE:=nethack/} \
2004-08-11 06:15:07 -04:00
ftp://ftp.nethack.org/pub/nethack/nh${V:S/.//g}/src/ \
ftp://ftp.uu.net/pub/games/nethack/sources/ \
2002-05-13 14:50:36 -04:00
${MASTER_SITE_GNU:=nethack/}
2010-11-16 06:23:25 -05:00
DISTFILES = nethack-${V:S/.//g}-src.tgz
2010-11-16 06:23:25 -05:00
MAINTAINER = Marc Espie <espie@openbsd.org>
2000-10-09 20:40:20 -04:00
# GPL
2010-11-16 06:23:25 -05:00
PERMIT_PACKAGE_CDROM = Yes
PERMIT_PACKAGE_FTP = Yes
PERMIT_DISTFILES_CDROM =Yes
PERMIT_DISTFILES_FTP = Yes
2010-11-16 06:23:25 -05:00
EXTRACT_ONLY =
post-extract:
@cd ${WRKDIR} && ${TAR} zxqf ${FULLDISTDIR}/${DISTFILES} \
2004-08-11 06:15:07 -04:00
nethack-$V/win/X11/ibm.bdf \
nethack-$V/win/X11/nh10.bdf \
nethack-$V/doc/Guidebook.txt
do-build:
cd ${WRKSRC}/win/X11 && \
${X11BASE}/bin/bdftopcf ibm.bdf | /usr/bin/gzip > ibm.pcf.gz && \
${X11BASE}/bin/bdftopcf nh10.bdf | /usr/bin/gzip > nh10.pcf.gz
2002-10-26 16:44:38 -04:00
NO_REGRESS= Yes
do-install:
@${INSTALL_DATA_DIR} ${PREFIX}/share/doc/nethack
@${INSTALL_DATA_DIR} ${PREFIX}/lib/X11/fonts/hack
${INSTALL_DATA} ${WRKSRC}/doc/Guidebook.txt ${PREFIX}/share/doc/nethack
${INSTALL_DATA} ${WRKSRC}/win/X11/ibm.pcf.gz ${PREFIX}/lib/X11/fonts/hack
${INSTALL_DATA} ${WRKSRC}/win/X11/nh10.pcf.gz ${PREFIX}/lib/X11/fonts/hack
.include <bsd.port.mk>