style
This commit is contained in:
parent
7a37ddfa3e
commit
cab81ac1dc
@ -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
|
DISTNAME= slash-e8
|
||||||
CATEGORIES= games
|
CATEGORIES= games
|
||||||
|
|
||||||
MAINTAINER= espie@OpenBSD.ORG
|
|
||||||
|
|
||||||
MASTER_SITES= ftp://ftp.uu.net/pub/games/nethack/sources/ \
|
MASTER_SITES= ftp://ftp.uu.net/pub/games/nethack/sources/ \
|
||||||
|
http://www.rz.tu-ilmenau.de/~wi019/Slash/ \
|
||||||
${MASTER_SITE_GNU}
|
${MASTER_SITE_GNU}
|
||||||
MASTER_SITE_SUBDIR= nethack
|
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/
|
MAINTAINER= espie@OpenBSD.ORG
|
||||||
DISTFILES+= Slash-Unix${EXTRACT_SUFX}
|
|
||||||
|
|
||||||
USE_GMAKE= yes
|
USE_GMAKE= yes
|
||||||
USE_X11= yes
|
USE_X11= yes
|
||||||
|
|
||||||
NHDIR=${PREFIX}/lib/slashdir
|
NHDIR= ${PREFIX}/lib/slashdir
|
||||||
MAKE_ENV+= NHDIR=${NHDIR}
|
MAKE_ENV+= NHDIR=${NHDIR}
|
||||||
|
|
||||||
post-extract:
|
post-extract:
|
||||||
@cd ${WRKDIR}; mv nethack-3.2.2 ${DISTNAME}
|
@cd ${WRKDIR}; mv nethack-3.2.2 ${DISTNAME}
|
||||||
@ -35,14 +32,14 @@ pre-configure:
|
|||||||
post-install:
|
post-install:
|
||||||
@cd ${WRKSRC}/doc; chmod 644 *.6
|
@cd ${WRKSRC}/doc; chmod 644 *.6
|
||||||
@cd ${WRKSRC}/doc; PREFIX='${PREFIX}' INSTALL_MAN='${INSTALL_MAN}' ${MAKE} manpages
|
@cd ${WRKSRC}/doc; PREFIX='${PREFIX}' INSTALL_MAN='${INSTALL_MAN}' ${MAKE} manpages
|
||||||
.if !defined(NOPORTDOCS)
|
|
||||||
${MKDIR} ${PREFIX}/share/doc/nethack
|
${MKDIR} ${PREFIX}/share/doc/nethack
|
||||||
${INSTALL_DATA} ${WRKSRC}/doc/Guidebook.txt ${PREFIX}/share/doc/nethack
|
${INSTALL_DATA} ${WRKSRC}/doc/Guidebook.txt ${PREFIX}/share/doc/nethack
|
||||||
.endif
|
|
||||||
${MKDIR} ${PREFIX}/lib/X11/fonts/hack
|
${MKDIR} ${PREFIX}/lib/X11/fonts/hack
|
||||||
cd ${WRKSRC}/win/X11 && \
|
cd ${WRKSRC}/win/X11 && \
|
||||||
sed -e "s/^NetHack/Slash/; s/^!NetHack/!Slash/" <NetHack.ad >Slash && \
|
sed-e "s/^NetHack/Slash/; s/^!NetHack/!Slash/" <NetHack.ad >Slash && \
|
||||||
${INSTALL_DATA} Slash ${PREFIX}/lib/X11/app-defaults && \
|
${INSTALL_DATA} Slash ${PREFIX}/lib/X11/app-defaults && \
|
||||||
${X11BASE}/bin/bdftopcf ibm.bdf|gzip >ibm.pcf.gz && \
|
${X11BASE}/bin/bdftopcf ibm.bdf|gzip >ibm.pcf.gz && \
|
||||||
${X11BASE}/bin/bdftopcf nh10.bdf|gzip >nh10.pcf.gz && \
|
${X11BASE}/bin/bdftopcf nh10.bdf|gzip >nh10.pcf.gz && \
|
||||||
${INSTALL_DATA} ibm.pcf.gz ${PREFIX}/lib/X11/fonts/hack && \
|
${INSTALL_DATA} ibm.pcf.gz ${PREFIX}/lib/X11/fonts/hack && \
|
||||||
|
@ -1,4 +1,3 @@
|
|||||||
@owner games
|
|
||||||
@group games
|
@group games
|
||||||
bin/slash
|
bin/slash
|
||||||
man/man6/dgn_comp.6
|
man/man6/dgn_comp.6
|
||||||
|
Loading…
Reference in New Issue
Block a user