diff options
author | glewis <glewis@FreeBSD.org> | 2013-07-10 12:54:11 +0800 |
---|---|---|
committer | glewis <glewis@FreeBSD.org> | 2013-07-10 12:54:11 +0800 |
commit | a5045ce0eea410c9a2aaa6b9d4d10ace71c18d36 (patch) | |
tree | 57db74f713f6db5d6239384fb61fd6c61c62264c /games | |
parent | 1a4083b8e9d4adc2e069101881a6dd917499cfea (diff) | |
download | freebsd-ports-gnome-a5045ce0eea410c9a2aaa6b9d4d10ace71c18d36.tar.gz freebsd-ports-gnome-a5045ce0eea410c9a2aaa6b9d4d10ace71c18d36.tar.zst freebsd-ports-gnome-a5045ce0eea410c9a2aaa6b9d4d10ace71c18d36.zip |
. 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)
Diffstat (limited to 'games')
-rw-r--r-- | games/Makefile | 1 | ||||
-rw-r--r-- | games/nethack34-qt/Makefile | 14 | ||||
-rw-r--r-- | games/nethack34/Makefile | 18 |
3 files changed, 5 insertions, 28 deletions
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 |