2003-06-18 17:43:40 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.11 2003/06/18 21:43:40 pvalchev Exp $
|
2000-04-16 16:42:09 -04:00
|
|
|
|
2003-06-18 17:43:40 -04:00
|
|
|
COMMENT= "common data for the nethack/slash ports"
|
2003-03-01 06:20:37 -05:00
|
|
|
DISTNAME= nethack-3.4.1
|
|
|
|
PKGNAME= hackdata-3.4.1
|
2000-04-16 16:42:09 -04:00
|
|
|
CATEGORIES= games
|
2002-10-26 16:44:38 -04:00
|
|
|
|
2002-03-23 09:52:03 -05:00
|
|
|
MASTER_SITES= ftp://ftp.nethack.org/pub/nethack/nh340/src/ \
|
2000-04-16 16:42:09 -04:00
|
|
|
ftp://ftp.uu.net/pub/games/nethack/sources/ \
|
2002-05-13 14:50:36 -04:00
|
|
|
${MASTER_SITE_GNU:=nethack/}
|
2003-03-01 06:20:37 -05:00
|
|
|
DISTFILES= nethack-341.tgz
|
2000-04-16 16:42:09 -04:00
|
|
|
|
2000-10-09 20:40:20 -04:00
|
|
|
MAINTAINER= Marc Espie <espie@openbsd.org>
|
2000-04-16 16:42:09 -04:00
|
|
|
|
2000-10-09 20:40:20 -04:00
|
|
|
# GPL
|
2000-04-16 16:42:09 -04:00
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
|
|
|
|
EXTRACT_ONLY=
|
|
|
|
|
|
|
|
post-extract:
|
2001-08-16 22:38:44 -04:00
|
|
|
@cd ${WRKDIR} && ${TAR} zxqf ${FULLDISTDIR}/${DISTFILES} \
|
2003-03-01 06:20:37 -05:00
|
|
|
nethack-3.4.1/win/X11/ibm.bdf \
|
|
|
|
nethack-3.4.1/win/X11/nh10.bdf \
|
|
|
|
nethack-3.4.1/doc/Guidebook.txt
|
2000-04-16 16:42:09 -04:00
|
|
|
|
|
|
|
do-build:
|
|
|
|
cd ${WRKSRC}/win/X11 && \
|
2001-08-16 22:38:44 -04:00
|
|
|
${X11BASE}/bin/bdftopcf ibm.bdf | /usr/bin/gzip > ibm.pcf.gz && \
|
|
|
|
${X11BASE}/bin/bdftopcf nh10.bdf | /usr/bin/gzip > nh10.pcf.gz
|
2000-04-16 16:42:09 -04:00
|
|
|
|
2002-10-26 16:44:38 -04:00
|
|
|
NO_REGRESS= Yes
|
|
|
|
|
2000-04-16 16:42:09 -04:00
|
|
|
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>
|