diff options
Diffstat (limited to 'games/lincity-ng/Makefile')
-rw-r--r-- | games/lincity-ng/Makefile | 42 |
1 files changed, 10 insertions, 32 deletions
diff --git a/games/lincity-ng/Makefile b/games/lincity-ng/Makefile index b3917ed7f700..2861f7371683 100644 --- a/games/lincity-ng/Makefile +++ b/games/lincity-ng/Makefile @@ -1,48 +1,26 @@ PORTNAME= lincity-ng -PORTVERSION= 2.0 -PORTREVISION= 20 +DISTVERSION= 2.14.2 +DISTVERSIONSUFFIX= -Source CATEGORIES= games -MASTER_SITES= BERLIOS +MASTER_SITES= https://github.com/${PORTNAME}/${PORTNAME}/releases/download/${PORTNAME}-${DISTVERSION}/ MAINTAINER= uzsolt@FreeBSD.org COMMENT= Improved rich city simulation game for X WWW= https://github.com/lincity-ng/lincity-ng/ LICENSE= GPLv2+ -LICENSE_FILE= ${WRKSRC}/COPYING +LICENSE_FILE= ${WRKSRC}/COPYING.txt -BUILD_DEPENDS= jam:devel/jam -LIB_DEPENDS= libphysfs.so:devel/physfs +LIB_DEPENDS= libfmt.so:devel/libfmt \ + libxml++-5.0.so:textproc/libxml++ -USES= gl gnome localbase:ldflags pkgconfig sdl tar:bzip2 xorg -USE_CXXSTD= c++14 +USES= cmake:noninja compiler:c++17-lang gl gnome localbase:ldflags \ + pkgconfig sdl tar:xz xorg USE_GL= gl -USE_GNOME= libxml2 -USE_SDL= sdl mixer image ttf gfx +USE_GNOME= libxml2 libxslt +USE_SDL= image2 mixer2 sdl2 ttf2 USE_XORG= x11 -GNU_CONFIGURE= yes -CONFIGURE_ARGS= --with-libphysfs=${LOCALBASE} \ - --x-libraries=${LOCALBASE}/lib --x-includes=${LOCALBASE}/include - LDFLAGS+= -lpthread -PLIST_FILES= bin/lincity-ng \ - share/applications/lincity-ng.desktop \ - share/pixmaps/lincity-ng.png -PORTDATA= * -PORTDOCS= * - -OPTIONS_DEFINE= DOCS - -post-patch: - @${REINPLACE_CMD} -e 's| -O| -I${LOCALBASE}/include&|g' \ - ${WRKSRC}/Jamrules - -do-build: - @(cd ${BUILD_WRKSRC} && ${SETENV} ${MAKE_ENV} jam -dx -j${MAKE_JOBS_NUMBER}) - -do-install: - @(cd ${INSTALL_WRKSRC} && ${SETENV} ${MAKE_ENV} jam -dx -sprefix=${PREFIX} -sDESTDIR=${STAGEDIR} ${INSTALL_TARGET}) - .include <bsd.port.mk> |