aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--MOVED1
-rw-r--r--games/Makefile1
-rw-r--r--games/nethack34-qt/Makefile14
-rw-r--r--games/nethack34/Makefile18
4 files changed, 6 insertions, 28 deletions
diff --git a/MOVED b/MOVED
index 94ae6acacc01..1fab6683a1c6 100644
--- a/MOVED
+++ b/MOVED
@@ -4421,3 +4421,4 @@ games/gnomememoryblocks||2013-07-04|Has expired: Unsupported upstream
devel/py-reddit||2013-07-07|Has been removed from PyPI, Use www/py-praw
games/speakinghangman||2013-07-07|Has expired: No more public distfiles
security/pinentry-qt||2013-07-09|Removed: Qt3 ports have expired
+games/nethack34-qt|games/nethack34-gnome|2013-07-09|Uses unsupported QT version
diff --git a/games/Makefile b/games/Makefile
index 288f2f9aaee4..f08484687698 100644
--- a/games/Makefile
+++ b/games/Makefile
@@ -633,7 +633,6 @@
SUBDIR += nethack34
SUBDIR += nethack34-gnome
SUBDIR += nethack34-nox11
- SUBDIR += nethack34-qt
SUBDIR += netherearth
SUBDIR += netpanzer
SUBDIR += netrek-BRMH-bin
diff --git a/games/nethack34-qt/Makefile b/games/nethack34-qt/Makefile
deleted file mode 100644
index 6713981c432b..000000000000
--- a/games/nethack34-qt/Makefile
+++ /dev/null
@@ -1,14 +0,0 @@
-# New ports collection makefile for: nethack-qt
-# Date created: So 6 Apr 1997 04:25:57 MET DST
-# Whom: Andreas Klemm <andreas@klemm.gtn.com>
-#
-# $FreeBSD$
-#
-
-MASTERDIR= ${.CURDIR}/../nethack34
-
-MAINTAINER= ports@FreeBSD.org
-
-PKGNAMESUFFIX= -qt
-
-.include "${MASTERDIR}/Makefile"
diff --git a/games/nethack34/Makefile b/games/nethack34/Makefile
index 8e448aa735f6..19c1d3c44bf8 100644
--- a/games/nethack34/Makefile
+++ b/games/nethack34/Makefile
@@ -1,9 +1,5 @@
-# New ports collection makefile for: nethack
-# Date created: 27 March 1995
-# Whom: asami
-#
+# Created by: asami
# $FreeBSD$
-#
PORTNAME= nethack
PORTVERSION= 3.4.3
@@ -18,8 +14,8 @@ COMMENT= A dungeon explorin', slashin', hackin' game
LICENSE= nethack
LICENSE_NAME= NETHACK GENERAL PUBLIC LICENSE
-LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
LICENSE_FILE= ${WRKSRC}/dat/license
+LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
@@ -75,12 +71,6 @@ PATCH_SITES+= http://www.netsonic.fi/~walker/nh/ \
PATCH_DIST_STRIP= -p1
CFLAGS+= -DHPMON
.endif
-.elif ${PKGNAMESUFFIX} == "-qt"
-USE_QT_VER= 3
-MAKE_ENV+= QTCPPFLAGS="${QTCPPFLAGS} ${PTHREAD_CFLAGS}" \
- QTCFGLIBS="${QTCFGLIBS} ${PTHREAD_LIBS}" \
- MOC="${MOC}" LIBQT="-lqt-mt"
-GRAPHICS= QT_GRAPHICS
.endif
.endif
@@ -96,6 +86,8 @@ pre-everything::
${ECHO_MSG} "!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!" ; \
fi
+.include <bsd.port.options.mk>
+
post-patch:
.for f in include/config.h sys/unix/Makefile.src sys/unix/Makefile.top
@${REINPLACE_CMD} -e 's|%%HACKNAME%%|${HACKNAME}|g;s|%%HACKDIR%%|${PREFIX}/${HACKDIR}|g' ${WRKSRC}/${f}
@@ -113,7 +105,7 @@ pre-configure:
post-install:
@cd ${WRKSRC}/doc; ${SETENV} ${MAKE_ENV} ${MAKE} manpages
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${PREFIX}/${HACKDOCSDIR}
${INSTALL_DATA} ${WRKSRC}/doc/Guidebook.txt ${PREFIX}/${HACKDOCSDIR}
.endif