aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorglewis <glewis@FreeBSD.org>2013-11-30 12:42:23 +0800
committerglewis <glewis@FreeBSD.org>2013-11-30 12:42:23 +0800
commit93821de08658c102aee4a111808b4abfd9e7784d (patch)
tree70da3ff6dbfc02c6acca4790f62bf4ed4fe5144b
parent93749c270002759fb1c95b4337a199085cc77fe3 (diff)
downloadfreebsd-ports-gnome-93821de08658c102aee4a111808b4abfd9e7784d.tar.gz
freebsd-ports-gnome-93821de08658c102aee4a111808b4abfd9e7784d.tar.zst
freebsd-ports-gnome-93821de08658c102aee4a111808b4abfd9e7784d.zip
. Make PORTNAME nethack33 rather than using nethack and relying on
LATEST_LINK to provide differentiation. This makes the package name unique. . Minor portlint petting. Requested by: bapt@
-rw-r--r--games/nethack33/Makefile17
1 files changed, 9 insertions, 8 deletions
diff --git a/games/nethack33/Makefile b/games/nethack33/Makefile
index 3ed30b553a07..80639ef58a48 100644
--- a/games/nethack33/Makefile
+++ b/games/nethack33/Makefile
@@ -1,33 +1,34 @@
# Created by: asami
# $FreeBSD$
-PORTNAME= nethack
+PORTNAME= nethack33
PORTVERSION= 3.3.1
PORTREVISION= 10
CATEGORIES?= games
MASTER_SITES= SF
-DISTNAME= ${PORTNAME}-${PORTVERSION:S/.//g}
+DISTNAME= ${TRUEPORTNAME}-${PORTVERSION:S/.//g}
EXTRACT_SUFX= .tgz
-MAINTAINER?= glewis@FreeBSD.org
-COMMENT?= A dungeon explorin', slashin', hackin' game
+MAINTAINER= glewis@FreeBSD.org
+COMMENT= A dungeon explorin', slashin', hackin' game
-WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
-LATEST_LINK= nethack33${PKGNAMESUFFIX}
+WRKSRC= ${WRKDIR}/${TRUEPORTNAME}-${PORTVERSION}
+LATEST_LINK= ${TRUEPORTNAME}33${PKGNAMESUFFIX}
USE_GMAKE= yes
MAKE_ENV= GRAPHICS="${GRAPHICS}"
PLIST_SUB= HACKNAME="${HACKNAME}" \
HACKEXT="${HACKEXT}"
MAKE_JOBS_UNSAFE= yes
+TRUEPORTNAME= nethack
MAN6= dgn_comp${HACKEXT}.6 dlb${HACKEXT}.6 lev_comp${HACKEXT}.6 \
${HACKNAME}.6 recover${HACKEXT}.6
HACKEXT?= 33
-HACKNAME?= ${PORTNAME}${HACKEXT}
+HACKNAME?= ${TRUEPORTNAME}${HACKEXT}
HACKDIR?= share/${HACKNAME}
-HACKLINK= nethack
+HACKLINK= ${TRUEPORTNAME}
DATADIR= ${PREFIX}/${HACKDIR}
DOCSDIR= ${PREFIX}/share/doc/${HACKNAME}