summaryrefslogtreecommitdiff
path: root/games/nethack34-gnome/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'games/nethack34-gnome/Makefile')
-rw-r--r--games/nethack34-gnome/Makefile28
1 files changed, 3 insertions, 25 deletions
diff --git a/games/nethack34-gnome/Makefile b/games/nethack34-gnome/Makefile
index 731783f915f2..0ac31a0a5a3a 100644
--- a/games/nethack34-gnome/Makefile
+++ b/games/nethack34-gnome/Makefile
@@ -5,32 +5,10 @@
# $FreeBSD$
#
-PORTNAME= nethack
-PORTVERSION= 3.3.1
-CATEGORIES= games gnome
-MASTER_SITES= ftp://ftp.nethack.org/pub/nethack/nh331/src/
-MASTER_SITE_SUBDIR= ${PORTNAME}
-PKGNAMESUFFIX= -gnome
-DISTNAME= ${PORTNAME}-${PORTVERSION:S/.//g}
-EXTRACT_SUFX= .tgz
+MASTERDIR= ${.CURDIR}/../nethack34
MAINTAINER= Jan.Stocker@t-online.de
-USE_GNOME= yes
-USE_GMAKE= yes
-WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
+WITH_GNOME_GRAPHICS= 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} ${PREFIX}/share/doc/nethack
- ${CP} ${WRKSRC}/doc/Guidebook.txt ${PREFIX}/share/doc/nethack
-.endif
-
-.include <bsd.port.mk>
+.include "${MASTERDIR}/Makefile"