87a3b50a49
Submitted by: bento (via kris)
43 lines
911 B
Makefile
43 lines
911 B
Makefile
# New ports collection makefile for: nethack
|
|
# Date created: 27 March 1995
|
|
# Whom: asami
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= nethack
|
|
PORTVERSION= 3.2.3
|
|
CATEGORIES= games
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}
|
|
DISTNAME= nethack-322
|
|
EXTRACT_SUFX= .tgz
|
|
|
|
PATCH_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
PATCH_SITE_SUBDIR= ${PORTNAME}
|
|
PATCHFILES= nh-3.2.2-3.2.3.diff
|
|
|
|
MAINTAINER= glewis@FreeBSD.org
|
|
COMMENT= A dungeon explorin', slashin', hackin' game
|
|
|
|
NO_LATEST_LINK= yes
|
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}-3.2.2
|
|
|
|
USE_XPM= yes
|
|
USE_GMAKE= yes
|
|
MAN6= dgn_comp.6 dlb.6 lev_comp.6 nethack.6 recover.6
|
|
|
|
pre-configure:
|
|
@cd ${WRKSRC}/sys/unix; ${SH} setup.sh
|
|
|
|
post-install:
|
|
@cd ${WRKSRC}/doc; ${CHMOD} 644 *.6
|
|
@cd ${WRKSRC}/doc; PREFIX=${PREFIX} ${MAKE} manpages
|
|
.if !defined(NOPORTDOCS)
|
|
@${MKDIR} ${DOCSDIR}
|
|
@${INSTALL_DATA} ${WRKSRC}/doc/Guidebook.txt ${DOCSDIR}
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|