mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-13 07:34:50 +00:00
games/rlvm: simplify utf8cpp includes after r557889
Also, pet portlint by moving PORTREVISION.
This commit is contained in:
parent
7bade45bbe
commit
35caf8cc95
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=558193
@ -1,10 +1,10 @@
|
|||||||
# $FreeBSD$
|
# $FreeBSD$
|
||||||
|
|
||||||
PORTNAME= rlvm
|
PORTNAME= rlvm
|
||||||
PORTREVISION= 1
|
|
||||||
DISTVERSIONPREFIX= release-
|
DISTVERSIONPREFIX= release-
|
||||||
DISTVERSION= 0.14-75
|
DISTVERSION= 0.14-75
|
||||||
DISTVERSIONSUFFIX= -g975e740c
|
DISTVERSIONSUFFIX= -g975e740c
|
||||||
|
PORTREVISION= 1
|
||||||
CATEGORIES= games
|
CATEGORIES= games
|
||||||
|
|
||||||
MAINTAINER= jbeich@FreeBSD.org
|
MAINTAINER= jbeich@FreeBSD.org
|
||||||
@ -33,7 +33,6 @@ USE_SDL= image mixer ttf
|
|||||||
EXCLUDE= GLEW SDL_image SDL_mixer SDL_ttf gmock gtest guichan \
|
EXCLUDE= GLEW SDL_image SDL_mixer SDL_ttf gmock gtest guichan \
|
||||||
luabind utf8cpp # leaving only pygame, xclannad, *.cpp
|
luabind utf8cpp # leaving only pygame, xclannad, *.cpp
|
||||||
EXTRACT_AFTER_ARGS=${EXCLUDE:S,^,--exclude vendor/,}
|
EXTRACT_AFTER_ARGS=${EXCLUDE:S,^,--exclude vendor/,}
|
||||||
CFLAGS+= -I${LOCALBASE}/include/utf8cpp
|
|
||||||
LDFLAGS+= -Wl,--as-needed # avoid overlinking (gtk deps)
|
LDFLAGS+= -Wl,--as-needed # avoid overlinking (gtk deps)
|
||||||
MAKE_ARGS= VERBOSE=1
|
MAKE_ARGS= VERBOSE=1
|
||||||
INSTALLS_ICONS= yes
|
INSTALLS_ICONS= yes
|
||||||
@ -62,8 +61,6 @@ TEST_BUILD_DEPENDS=googletest>=1.7.0:devel/googletest \
|
|||||||
TEST_EXTRA_PATCHES_OFF=${FILESDIR}/extra-patch-disable-test
|
TEST_EXTRA_PATCHES_OFF=${FILESDIR}/extra-patch-disable-test
|
||||||
|
|
||||||
post-patch:
|
post-patch:
|
||||||
@${GREP} -Flr 'utf8cpp/' ${WRKSRC} | ${XARGS} ${REINPLACE_CMD} \
|
|
||||||
-i .bak.utf8cpp -e 's,utf8cpp/,,'
|
|
||||||
@${REINPLACE_CMD} -e 's,/usr/share,${PREFIX}/share,' \
|
@${REINPLACE_CMD} -e 's,/usr/share,${PREFIX}/share,' \
|
||||||
${WRKSRC}/src/platforms/gtk/gtk_rlvm_instance.cc
|
${WRKSRC}/src/platforms/gtk/gtk_rlvm_instance.cc
|
||||||
@${REINPLACE_CMD} -e 's,/usr/share,${LOCALBASE}/share,' \
|
@${REINPLACE_CMD} -e 's,/usr/share,${LOCALBASE}/share,' \
|
||||||
|
Loading…
Reference in New Issue
Block a user