1995-03-28 12:13:27 +00:00
|
|
|
# New ports collection makefile for: nethack
|
1996-12-23 02:29:36 +00:00
|
|
|
# Version required: 3.2.2
|
1995-03-28 12:13:27 +00:00
|
|
|
# Date created: 27 March 1995
|
|
|
|
# Whom: asami
|
|
|
|
#
|
1997-07-12 16:53:39 +00:00
|
|
|
# $Id: Makefile,v 1.11 1997/01/03 09:36:45 obrien Exp $
|
1995-03-28 12:13:27 +00:00
|
|
|
#
|
|
|
|
|
1996-12-23 02:29:36 +00:00
|
|
|
DISTNAME= nethack-3.2.2
|
1996-11-18 10:25:35 +00:00
|
|
|
CATEGORIES= games
|
1996-12-23 02:29:36 +00:00
|
|
|
MASTER_SITES= ftp://ftp.uu.net/pub/games/nethack/sources/ \
|
|
|
|
${MASTER_SITE_GNU}
|
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
|
1996-11-18 10:25:35 +00:00
|
|
|
MAN6= dgn_comp.6 dlb.6 lev_comp.6 nethack.6 recover.6
|
1995-03-28 12:13:27 +00:00
|
|
|
|
|
|
|
pre-configure:
|
1997-07-12 16:53:39 +00:00
|
|
|
@cd ${WRKSRC}/sys/unix; ${SH} setup.sh
|
1995-03-28 12:13:27 +00:00
|
|
|
|
1996-04-22 07:49:03 +00:00
|
|
|
post-install:
|
1996-08-30 08:29:55 +00:00
|
|
|
@cd ${WRKSRC}/doc; chmod 644 *.6
|
1996-04-22 07:49:03 +00:00
|
|
|
@cd ${WRKSRC}/doc; PREFIX=${PREFIX} ${MAKE} manpages
|
|
|
|
.if !defined(NOPORTDOCS)
|
1997-01-03 09:38:01 +00:00
|
|
|
${MKDIR} ${PREFIX}/share/doc/nethack
|
|
|
|
${CP} ${WRKSRC}/doc/Guidebook.txt ${PREFIX}/share/doc/nethack
|
1996-04-22 07:49:03 +00:00
|
|
|
.endif
|
1995-03-28 12:13:27 +00:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|