summaryrefslogtreecommitdiff
path: root/games/openttd
diff options
context:
space:
mode:
authoradrianp <adrianp@pkgsrc.org>2005-09-11 11:50:48 +0000
committeradrianp <adrianp@pkgsrc.org>2005-09-11 11:50:48 +0000
commit104ac25124795853416e9f4fc173a8a893f68f71 (patch)
tree50298441e3723b5b8f1d9857fea55459aa5c6375 /games/openttd
parent892a2c92ef1132ec53a2234a063da8b91c37bef4 (diff)
downloadpkgsrc-104ac25124795853416e9f4fc173a8a893f68f71.tar.gz
Fix ${WRKSRC} to use ${PKGNAME_NOREV} which is much nicer
Diffstat (limited to 'games/openttd')
-rw-r--r--games/openttd/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/games/openttd/Makefile b/games/openttd/Makefile
index bfdca265e9f..acfcd6e5349 100644
--- a/games/openttd/Makefile
+++ b/games/openttd/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.7 2005/09/11 11:44:29 adrianp Exp $
+# $NetBSD: Makefile,v 1.8 2005/09/11 11:50:48 adrianp Exp $
DISTNAME= openttd-0.4.0.1-source
PKGNAME= openttd-0.4.0.1
@@ -23,7 +23,7 @@ MAKE_ENV+= PERSONAL_DIR=.openttd
MAKE_ENV+= WITH_NETWORK=1
MAKE_ENV+= X11BASE=${X11BASE}
-WRKSRC= ${WRKDIR}/${DISTNAME:S/-source//}
+WRKSRC= ${WRKDIR}/${PKGNAME_NOREV}
INSTALLATION_DIRS= bin