1995-03-28 12:13:27 +00:00
|
|
|
# New ports collection makefile for: nethack
|
1996-07-23 10:34:39 +00:00
|
|
|
# Version required: 3.2.1
|
1995-03-28 12:13:27 +00:00
|
|
|
# Date created: 27 March 1995
|
|
|
|
# Whom: asami
|
|
|
|
#
|
1996-07-23 10:34:39 +00:00
|
|
|
# $Id: Makefile,v 1.6 1996/06/14 07:59:34 asami Exp $
|
1995-03-28 12:13:27 +00:00
|
|
|
#
|
|
|
|
|
1996-07-23 10:34:39 +00:00
|
|
|
DISTNAME= nethack-3.2.1
|
1995-04-01 12:51:41 +00:00
|
|
|
CATEGORIES+= games
|
1996-04-22 07:49:03 +00:00
|
|
|
MASTER_SITES= ftp://prep.ai.mit.edu/pub/gnu/ \
|
|
|
|
ftp://ftp.win.tue.nl/pub/games/nethack/General/Source/NH32/sources/
|
1995-04-11 00:20:58 +00:00
|
|
|
|
1995-03-28 12:13:27 +00:00
|
|
|
MAINTAINER= asami@FreeBSD.ORG
|
1995-04-11 00:20:58 +00:00
|
|
|
|
1996-06-14 07:59:34 +00:00
|
|
|
LIB_DEPENDS= Xpm\\.4\\.:${PORTSDIR}/graphics/xpm
|
|
|
|
|
1995-03-28 12:13:27 +00:00
|
|
|
USE_GMAKE= yes
|
1995-03-30 09:49:57 +00:00
|
|
|
SHELL= /bin/sh
|
1995-03-28 12:13:27 +00:00
|
|
|
|
|
|
|
pre-configure:
|
|
|
|
@cd ${WRKSRC}/sys/unix; ${SHELL} setup.sh
|
|
|
|
|
1996-04-22 07:49:03 +00:00
|
|
|
post-install:
|
|
|
|
@cd ${WRKSRC}/doc; PREFIX=${PREFIX} ${MAKE} manpages
|
|
|
|
.if !defined(NOMANCOMPRESS)
|
|
|
|
for file in dgn_comp dlb lev_comp nethack recover; do \
|
|
|
|
gzip -9nf ${PREFIX}/man/man6/$$file.6; \
|
|
|
|
done
|
|
|
|
.endif
|
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
mkdir -p ${PREFIX}/share/doc/nethack
|
|
|
|
cp ${WRKSRC}/doc/Guidebook.txt ${PREFIX}/share/doc/nethack
|
|
|
|
.endif
|
1995-03-28 12:13:27 +00:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|