This commit is contained in:
brad 1999-05-09 21:51:50 +00:00
parent 7a37ddfa3e
commit cab81ac1dc
2 changed files with 10 additions and 14 deletions

View File

@ -1,24 +1,21 @@
# $OpenBSD: Makefile,v 1.5 1999/03/07 03:05:15 brad Exp $
#
# $OpenBSD: Makefile,v 1.6 1999/05/09 21:51:50 brad Exp $
DISTNAME= slash-e8
CATEGORIES= games
MAINTAINER= espie@OpenBSD.ORG
MASTER_SITES= ftp://ftp.uu.net/pub/games/nethack/sources/ \
http://www.rz.tu-ilmenau.de/~wi019/Slash/ \
${MASTER_SITE_GNU}
MASTER_SITE_SUBDIR= nethack
DISTFILES= nethack-3.2.2${EXTRACT_SUFX}
DISTFILES= nethack-3.2.2.tar.gz Slash-Unix.tar.gz
MASTER_SITES+= http://www.rz.tu-ilmenau.de/~wi019/Slash/
DISTFILES+= Slash-Unix${EXTRACT_SUFX}
MAINTAINER= espie@OpenBSD.ORG
USE_GMAKE= yes
USE_X11= yes
NHDIR=${PREFIX}/lib/slashdir
MAKE_ENV+= NHDIR=${NHDIR}
NHDIR= ${PREFIX}/lib/slashdir
MAKE_ENV+= NHDIR=${NHDIR}
post-extract:
@cd ${WRKDIR}; mv nethack-3.2.2 ${DISTNAME}
@ -35,14 +32,14 @@ pre-configure:
post-install:
@cd ${WRKSRC}/doc; chmod 644 *.6
@cd ${WRKSRC}/doc; PREFIX='${PREFIX}' INSTALL_MAN='${INSTALL_MAN}' ${MAKE} manpages
.if !defined(NOPORTDOCS)
${MKDIR} ${PREFIX}/share/doc/nethack
${INSTALL_DATA} ${WRKSRC}/doc/Guidebook.txt ${PREFIX}/share/doc/nethack
.endif
${MKDIR} ${PREFIX}/lib/X11/fonts/hack
cd ${WRKSRC}/win/X11 && \
sed -e "s/^NetHack/Slash/; s/^!NetHack/!Slash/" <NetHack.ad >Slash && \
${INSTALL_DATA} Slash ${PREFIX}/lib/X11/app-defaults && \
sed-e "s/^NetHack/Slash/; s/^!NetHack/!Slash/" <NetHack.ad >Slash && \
${INSTALL_DATA} Slash ${PREFIX}/lib/X11/app-defaults && \
${X11BASE}/bin/bdftopcf ibm.bdf|gzip >ibm.pcf.gz && \
${X11BASE}/bin/bdftopcf nh10.bdf|gzip >nh10.pcf.gz && \
${INSTALL_DATA} ibm.pcf.gz ${PREFIX}/lib/X11/fonts/hack && \

View File

@ -1,4 +1,3 @@
@owner games
@group games
bin/slash
man/man6/dgn_comp.6