diff options
author | tnn <tnn@pkgsrc.org> | 2007-08-10 23:18:39 +0000 |
---|---|---|
committer | tnn <tnn@pkgsrc.org> | 2007-08-10 23:18:39 +0000 |
commit | 6d0f13d0ddbf4fdfe8c219afc9a627d1f105821e (patch) | |
tree | 09782a00f120beae21d9efa82022c34672f0a2dd /games/openttd | |
parent | d83a5f52b5b791a71a52b72c604def386aeca13c (diff) | |
download | pkgsrc-6d0f13d0ddbf4fdfe8c219afc9a627d1f105821e.tar.gz |
Update to openttd-0.5.2. This is a minor bugfix release that fixes a
crash with network games. While here, add DESTDIR support.
Diffstat (limited to 'games/openttd')
-rw-r--r-- | games/openttd/Makefile | 12 | ||||
-rw-r--r-- | games/openttd/distinfo | 8 |
2 files changed, 10 insertions, 10 deletions
diff --git a/games/openttd/Makefile b/games/openttd/Makefile index e58ac87600e..b1881f430be 100644 --- a/games/openttd/Makefile +++ b/games/openttd/Makefile @@ -1,8 +1,7 @@ -# $NetBSD: Makefile,v 1.22 2007/05/06 17:50:21 jdolecek Exp $ +# $NetBSD: Makefile,v 1.23 2007/08/10 23:18:39 tnn Exp $ -DISTNAME= openttd-0.5.1-source -PKGNAME= openttd-0.5.1 -PKGREVISION= 2 +DISTNAME= openttd-0.5.2-source +PKGNAME= openttd-0.5.2 CATEGORIES= games x11 MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=openttd/} @@ -11,10 +10,11 @@ HOMEPAGE= http://www.openttd.com/ COMMENT= Open source clone of Transport Tycoon Deluxe EXTRACT_SUFX= .tar.bz2 +PKG_DESTDIR_SUPPORT= user-destdir USE_LANGUAGES+= c c++ USE_TOOLS+= gmake pkg-config -DATA_DIR= ${PREFIX}/share/games/openttd +DATA_DIR= ${DESTDIR}${PREFIX}/share/games/openttd MAKE_ENV+= PREFIX=${PREFIX:Q} MAKE_ENV+= INSTALL=1 @@ -33,7 +33,7 @@ WRKSRC= ${WRKDIR}/${DISTNAME:S:-source::} INSTALLATION_DIRS= bin do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/openttd ${PREFIX}/bin + ${INSTALL_PROGRAM} ${WRKSRC}/openttd ${DESTDIR}${PREFIX}/bin ${INSTALL_DATA_DIR} ${DATA_DIR} ${INSTALL_DATA_DIR} ${DATA_DIR}/lang ${INSTALL_DATA_DIR} ${DATA_DIR}/data diff --git a/games/openttd/distinfo b/games/openttd/distinfo index efe387ea37d..09d52fff041 100644 --- a/games/openttd/distinfo +++ b/games/openttd/distinfo @@ -1,6 +1,6 @@ -$NetBSD: distinfo,v 1.8 2007/05/08 12:52:54 jdolecek Exp $ +$NetBSD: distinfo,v 1.9 2007/08/10 23:18:39 tnn Exp $ -SHA1 (openttd-0.5.1-source.tar.bz2) = 0fd40643443423a9493dfce836a0f00c2f6240d1 -RMD160 (openttd-0.5.1-source.tar.bz2) = e3faad8b8ed697aeb705af90d673b61370e02b6f -Size (openttd-0.5.1-source.tar.bz2) = 3033665 bytes +SHA1 (openttd-0.5.2-source.tar.bz2) = 8c801cd92038741dbb1327c1688a69b3a939e054 +RMD160 (openttd-0.5.2-source.tar.bz2) = 77528fa6d558787cfc1349d821041f005f3262ab +Size (openttd-0.5.2-source.tar.bz2) = 3034368 bytes SHA1 (patch-aa) = 422ada1f8c68605fa2e759a2911060fdc97b28a6 |