1995-03-28 07:13:27 -05:00
|
|
|
# New ports collection makefile for: nethack
|
1996-12-22 21:29:36 -05:00
|
|
|
# Version required: 3.2.2
|
1995-03-28 07:13:27 -05:00
|
|
|
# Date created: 27 March 1995
|
|
|
|
# Whom: asami
|
|
|
|
#
|
1999-08-22 15:01:07 -04:00
|
|
|
# $Id: Makefile,v 1.19 1999/01/27 07:41:13 fenner Exp $
|
1995-03-28 07:13:27 -05:00
|
|
|
#
|
|
|
|
|
1996-12-22 21:29:36 -05:00
|
|
|
DISTNAME= nethack-3.2.2
|
1996-11-18 05:25:35 -05:00
|
|
|
CATEGORIES= games
|
1998-12-10 12:24:33 -05:00
|
|
|
MASTER_SITES= ftp://ftp.wtower.com/nethack/sources/ \
|
1996-12-22 21:29:36 -05:00
|
|
|
${MASTER_SITE_GNU}
|
1999-01-27 02:41:29 -05:00
|
|
|
MASTER_SITE_SUBDIR= nethack
|
1995-04-10 20:20:58 -04:00
|
|
|
|
1997-12-25 17:29:52 -05:00
|
|
|
MAINTAINER= ports@FreeBSD.ORG
|
1995-04-10 20:20:58 -04:00
|
|
|
|
1998-09-16 20:33:02 -04:00
|
|
|
LIB_DEPENDS= Xpm.4:${PORTSDIR}/graphics/xpm
|
1996-06-14 03:59:34 -04:00
|
|
|
|
1995-03-28 07:13:27 -05:00
|
|
|
USE_GMAKE= yes
|
1996-11-18 05:25:35 -05:00
|
|
|
MAN6= dgn_comp.6 dlb.6 lev_comp.6 nethack.6 recover.6
|
1995-03-28 07:13:27 -05:00
|
|
|
|
|
|
|
pre-configure:
|
1997-07-12 12:53:39 -04:00
|
|
|
@cd ${WRKSRC}/sys/unix; ${SH} setup.sh
|
1995-03-28 07:13:27 -05:00
|
|
|
|
1996-04-22 03:49:03 -04:00
|
|
|
post-install:
|
1999-08-22 15:01:07 -04:00
|
|
|
@cd ${WRKSRC}/doc; ${CHMOD} 644 *.6
|
1996-04-22 03:49:03 -04:00
|
|
|
@cd ${WRKSRC}/doc; PREFIX=${PREFIX} ${MAKE} manpages
|
|
|
|
.if !defined(NOPORTDOCS)
|
1997-01-03 04:38:01 -05:00
|
|
|
${MKDIR} ${PREFIX}/share/doc/nethack
|
|
|
|
${CP} ${WRKSRC}/doc/Guidebook.txt ${PREFIX}/share/doc/nethack
|
1996-04-22 03:49:03 -04:00
|
|
|
.endif
|
1995-03-28 07:13:27 -05:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|