summaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authornia <nia@pkgsrc.org>2020-03-26 14:48:36 +0000
committernia <nia@pkgsrc.org>2020-03-26 14:48:36 +0000
commit34a16e3aa5ca2d6e8b38dfa71e726d1586c16f6e (patch)
treed6711f2fa4d2e8c3c09cf5b9f2fc42b1005bd929 /games
parent6805a7bb1b27deaaa8a0b48522092ab0ddb69f1f (diff)
downloadpkgsrc-34a16e3aa5ca2d6e8b38dfa71e726d1586c16f6e.tar.gz
openttd: Make the PLIST consistent and remove some bogus config args
Diffstat (limited to 'games')
-rw-r--r--games/openttd/Makefile10
-rw-r--r--games/openttd/PLIST3
2 files changed, 6 insertions, 7 deletions
diff --git a/games/openttd/Makefile b/games/openttd/Makefile
index 76e9b35e6a4..0d72ac7f1e6 100644
--- a/games/openttd/Makefile
+++ b/games/openttd/Makefile
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.85 2020/03/23 10:29:30 nia Exp $
+# $NetBSD: Makefile,v 1.86 2020/03/26 14:48:36 nia Exp $
DISTNAME= openttd-1.9.3-source
PKGNAME= ${DISTNAME:S/-source//}
-PKGREVISION= 2
+PKGREVISION= 3
CATEGORIES= games
MASTER_SITES= https://proxy.binaries.openttd.org/openttd-releases/${PKGVERSION_NOREV}/
EXTRACT_SUFX= .tar.xz
@@ -24,6 +24,7 @@ GCC_REQD+= 4.8
BUILDLINK_TRANSFORM+= opt:-std=c++11:-std=gnu++11 # alloca
+CONFIGURE_ARGS+= --os=UNIX
CONFIGURE_ARGS+= --prefix-dir=${PREFIX}
CONFIGURE_ARGS+= --binary-dir=bin
CONFIGURE_ARGS+= --data-dir=share/openttd
@@ -34,13 +35,9 @@ CONFIGURE_ARGS+= --man-dir=${PKGMANDIR}/man6
CONFIGURE_ARGS+= --menu-dir=share/applications
CONFIGURE_ARGS+= --personal-dir=.openttd
CONFIGURE_ARGS+= --shared-dir=${VARBASE}/games/openttd
-CONFIGURE_ARGS+= --with-iconv=${BUILDLINK_PREFIX.iconv}
-CONFIGURE_ARGS+= --with-lzo2=${BUILDLINK_PREFIX.lzo}/lib
.include "../../mk/bsd.prefs.mk"
-CONFIGURE_ARGS.DragonFly+= --os=FREEBSD
-
.if ${OPSYS} == "Darwin"
CONFIGURE_ARGS+= --disable-cocoa-quickdraw
CONFIGURE_ARGS+= --with-cocoa
@@ -48,6 +45,7 @@ CONFIGURE_ARGS+= --without-application-bundle
CONFIGURE_ARGS+= --without-osx-sysroot
.else
.include "../../devel/SDL/buildlink3.mk"
+.include "../../x11/libxdg-basedir/buildlink3.mk"
.endif
.include "../../archivers/lzo/buildlink3.mk"
diff --git a/games/openttd/PLIST b/games/openttd/PLIST
index 9e5899c0b23..8a8c248b544 100644
--- a/games/openttd/PLIST
+++ b/games/openttd/PLIST
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.25 2019/04/25 15:55:07 adam Exp $
+@comment $NetBSD: PLIST,v 1.26 2020/03/26 14:48:36 nia Exp $
bin/openttd
man/man6/openttd.6
share/applications/openttd.desktop
@@ -26,6 +26,7 @@ share/openttd/ai/compat_1.8.nut
share/openttd/ai/compat_1.9.nut
share/openttd/baseset/no_music.obm
share/openttd/baseset/no_sound.obs
+share/openttd/baseset/openttd.32.bmp
share/openttd/baseset/openttd.grf
share/openttd/baseset/opntitle.dat
share/openttd/baseset/orig_dos.obg