summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorglewis <glewis@FreeBSD.org>2013-07-10 04:54:11 +0000
committerglewis <glewis@FreeBSD.org>2013-07-10 04:54:11 +0000
commita5045ce0eea410c9a2aaa6b9d4d10ace71c18d36 (patch)
tree57db74f713f6db5d6239384fb61fd6c61c62264c
parent1a4083b8e9d4adc2e069101881a6dd917499cfea (diff)
downloadFreeBSD-ports-a5045ce0eea410c9a2aaa6b9d4d10ace71c18d36.zip
FreeBSD-ports-a5045ce0eea410c9a2aaa6b9d4d10ace71c18d36.tar.gz
. Remove the nethack34-qt port which requires the expired QT3 port.
. Convert Makefile header. . NOPORTDOCS -> PORT_OPTIONS:MDOCS. . Pet portlint by putting LICENSE_FILE line at the correct place. PR: 180275 Submitted by: rene@ (with some additions)
-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 94ae6ac..1fab668 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 288f2f9..f084846 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 6713981..0000000
--- 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 8e448aa..19c1d3c 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
OpenPOWER on IntegriCloud