diff options
author | amdmi3 <amdmi3@FreeBSD.org> | 2014-11-25 09:17:32 +0800 |
---|---|---|
committer | amdmi3 <amdmi3@FreeBSD.org> | 2014-11-25 09:17:32 +0800 |
commit | ce2ad562f9c1124dd993c94c08613b9ea49dedea (patch) | |
tree | b722d734e00136a1ba19809feefad152edf88e2c /games | |
parent | 5cbd98be4fbf31dc12cda998c4038ed105108a26 (diff) | |
download | freebsd-ports-graphics-ce2ad562f9c1124dd993c94c08613b9ea49dedea.tar.gz freebsd-ports-graphics-ce2ad562f9c1124dd993c94c08613b9ea49dedea.tar.zst freebsd-ports-graphics-ce2ad562f9c1124dd993c94c08613b9ea49dedea.zip |
- Update to 0.4.10.4
- Use @sample
Diffstat (limited to 'games')
-rw-r--r-- | games/freeminer/Makefile | 22 | ||||
-rw-r--r-- | games/freeminer/distinfo | 4 | ||||
-rw-r--r-- | games/freeminer/pkg-plist | 5 |
3 files changed, 19 insertions, 12 deletions
diff --git a/games/freeminer/Makefile b/games/freeminer/Makefile index 8b821d78bce..9078df22ce4 100644 --- a/games/freeminer/Makefile +++ b/games/freeminer/Makefile @@ -2,24 +2,26 @@ # $FreeBSD$ PORTNAME= freeminer -PORTVERSION= 0.4.9.3 -PORTREVISION= 5 +PORTVERSION= 0.4.10.4 CATEGORIES= games MAINTAINER= amdmi3@FreeBSD.org COMMENT= Open source sandbox game inspired by Minecraft -LICENSE= LGPL21 +LICENSE= LGPL21 GPLv3 # or later +LICENSE_COMB= multi +LICENSE_FILE_GPLv3= ${WRKSRC}/COPYING LIB_DEPENDS= libsqlite3.so:${PORTSDIR}/databases/sqlite3 USE_GITHUB= yes GH_ACCOUNT= ${PORTNAME} -GH_COMMIT= cfd8282 +GH_COMMIT= 900587a -USES= cmake +USES= compiler:c++11-lib cmake CMAKE_ARGS= -DCUSTOM_MANDIR="${PREFIX}/man" \ - -DCUSTOM_EXAMPLE_CONF_DIR="${PREFIX}/etc" + -DCUSTOM_EXAMPLE_CONF_DIR="${PREFIX}/etc" \ + -DRUN_IN_PLACE=0 PORTDATA= * PORTDOCS= * @@ -63,6 +65,10 @@ LUAJIT_LIB_DEPENDS= libluajit-5.1.so:${PORTSDIR}/lang/luajit .include <bsd.port.options.mk> +.if ${OSVERSION} < 900000 +BROKEN= does not build (lack of long long support) +.endif + .if ${PORT_OPTIONS:MCLIENT} && ${PORT_OPTIONS:MSOUND} USES+= openal LIB_DEPENDS+= libvorbis.so:${PORTSDIR}/audio/libvorbis @@ -85,7 +91,7 @@ EXTRA_PATCHES+= ${FILESDIR}/extra-patch-irrlichtdepend post-patch: @${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|' \ ${WRKSRC}/cmake/Modules/*.cmake - @${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|' \ + @${REINPLACE_CMD} -e 's|-lpthread|-pthread|' \ ${WRKSRC}/src/CMakeLists.txt .if ! ${PORT_OPTIONS:MLUAJIT} @${REINPLACE_CMD} -e '/find_/ s|LUA_|NO&|g' \ @@ -94,5 +100,7 @@ post-patch: post-install: @${MKDIR} ${STAGEDIR}${DATADIR}/games + @${MV} ${STAGEDIR}${PREFIX}/etc/${PORTNAME}.conf.example \ + ${STAGEDIR}${PREFIX}/etc/${PORTNAME}.conf.sample .include <bsd.port.mk> diff --git a/games/freeminer/distinfo b/games/freeminer/distinfo index 7bdb6ef299f..434a0468400 100644 --- a/games/freeminer/distinfo +++ b/games/freeminer/distinfo @@ -1,2 +1,2 @@ -SHA256 (freeminer-0.4.9.3.tar.gz) = b7170467db99077cf00df8476642436ad744477500d55da444b8e4fa26cf37b5 -SIZE (freeminer-0.4.9.3.tar.gz) = 5361739 +SHA256 (freeminer-0.4.10.4.tar.gz) = 1002fa47f2fa1aa0ef63acb1636a741c8afc14e122ce2230b058c60d7b450b12 +SIZE (freeminer-0.4.10.4.tar.gz) = 5770067 diff --git a/games/freeminer/pkg-plist b/games/freeminer/pkg-plist index 3450184c598..713079ed5fa 100644 --- a/games/freeminer/pkg-plist +++ b/games/freeminer/pkg-plist @@ -1,10 +1,9 @@ %%CLIENT%%bin/freeminer %%SERVER%%bin/freeminerserver -@unexec if cmp -s %D/etc/freeminer.conf.example %D/etc/freeminer.conf; then rm -f %D/etc/freeminer.conf; fi -etc/freeminer.conf.example -@exec if [ ! -f %B/freeminer.conf ]; then cp -p %D/%F %B/freeminer.conf; fi +@sample etc/freeminer.conf.sample man/man6/freeminer.6.gz man/man6/freeminerserver.6.gz +share/appdata/freeminer.appdata.xml share/applications/freeminer.desktop share/icons/hicolor/scalable/apps/freeminer.svg @dir %%DATADIR%%/games |