add missing MASTER_SITE_SUBDIR tag
This commit is contained in:
parent
2eb9fbc94e
commit
c2027be250
@ -1,37 +1,36 @@
|
||||
# $OpenBSD: Makefile,v 1.2 1998/11/09 01:49:55 marc Exp $
|
||||
# $OpenBSD: Makefile,v 1.3 1999/09/23 20:54:05 brad Exp $
|
||||
# $FreeBSD: Makefile,v 1.13 1997/12/25 22:29:17 asami Exp $
|
||||
#
|
||||
|
||||
DISTNAME= nethack-3.2.2
|
||||
CATEGORIES= games
|
||||
|
||||
MAINTAINER= espie@OpenBSD.ORG
|
||||
|
||||
MASTER_SITES= ftp://ftp.uu.net/pub/games/nethack/sources/ \
|
||||
${MASTER_SITE_GNU}
|
||||
MASTER_SITE_SUBDIR= nethack
|
||||
|
||||
NEED_VERSION= 1.114
|
||||
|
||||
MAINTAINER= espie@openbsd.org
|
||||
|
||||
USE_GMAKE= yes
|
||||
USE_X11= yes
|
||||
USE_X11= yes
|
||||
|
||||
NHDIR=${PREFIX}/lib/nethackdir
|
||||
NHDIR= ${PREFIX}/lib/nethackdir
|
||||
MAKE_ENV+= NHDIR=${NHDIR}
|
||||
|
||||
pre-configure:
|
||||
@cd ${WRKSRC}/sys/unix; ${SH} setup.sh
|
||||
|
||||
post-install:
|
||||
@cd ${WRKSRC}/doc; chmod 644 *.6
|
||||
@${MKDIR} ${PREFIX}/lib/X11/fonts/hack
|
||||
@${MKDIR} ${PREFIX}/share/doc/nethack
|
||||
@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 && \
|
||||
cp NetHack.ad NetHack && \
|
||||
${INSTALL_DATA} NetHack ${PREFIX}/lib/X11/app-defaults && \
|
||||
${X11BASE}/bin/bdftopcf ibm.bdf|gzip >ibm.pcf.gz && \
|
||||
${X11BASE}/bin/bdftopcf nh10.bdf|gzip >nh10.pcf.gz && \
|
||||
@cd ${WRKSRC}/win/X11 && \
|
||||
${CP} NetHack.ad NetHack && \
|
||||
${INSTALL_DATA} NetHack ${PREFIX}/lib/X11/app-defaults && \
|
||||
${X11BASE}/bin/bdftopcf ibm.bdf | /usr/bin/gzip > ibm.pcf.gz && \
|
||||
${X11BASE}/bin/bdftopcf nh10.bdf | /usr/bin/gzip > nh10.pcf.gz && \
|
||||
${INSTALL_DATA} ibm.pcf.gz ${PREFIX}/lib/X11/fonts/hack && \
|
||||
${INSTALL_DATA} nh10.pcf.gz ${PREFIX}/lib/X11/fonts/hack
|
||||
${X11BASE}/bin/mkfontdir ${X11BASE}/lib/X11/fonts/hack
|
||||
|
Loading…
Reference in New Issue
Block a user