aboutsummaryrefslogtreecommitdiff
path: root/games/fishsupper
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2017-01-05 10:50:12 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2017-01-05 10:50:12 +0000
commit6ef5e751892168c9e66260dc233f767f6f4f995f (patch)
tree55f7e11747f1110ce95f5ecc21bdf9a447e3a719 /games/fishsupper
parentf6714c1eaf6f73b459e1d2330b0b5b8b694bb10c (diff)
- Switch to USES=localbase
- Remove always-true condition
Notes
Notes: svn path=/head/; revision=430628
Diffstat (limited to 'games/fishsupper')
-rw-r--r--games/fishsupper/Makefile9
1 files changed, 1 insertions, 8 deletions
diff --git a/games/fishsupper/Makefile b/games/fishsupper/Makefile
index 9aab858d7253..7e3af7f33af3 100644
--- a/games/fishsupper/Makefile
+++ b/games/fishsupper/Makefile
@@ -16,13 +16,10 @@ LICENSE_FILE= ${WRKSRC}/COPYING
BUILD_DEPENDS= ${LOCALBASE}/include/boost/bind.hpp:devel/boost-libs
GNU_CONFIGURE= yes
-USES= gmake
+USES= gmake localbase:ldflags
USE_SDL= sdl image mixer
USE_GL= gl
-CPPFLAGS+= -I${LOCALBASE}/include
-LDFLAGS+= -L${LOCALBASE}/lib
-
PLIST_FILES= bin/${PORTNAME}
PORTDOCS= *
PORTDATA= *
@@ -36,12 +33,8 @@ DESKTOP_ENTRIES="Fish Supper" \
OPTIONS_DEFINE= DOCS
-.include <bsd.port.options.mk>
-
-.if ${OPSYS} == FreeBSD && ${OSVERSION} > 1000000
post-patch:
@${REINPLACE_CMD} -e 's|std::tr1::shared_ptr|std::shared_ptr|g' ${WRKSRC}/src/*.h ${WRKSRC}/src/*.cpp
-.endif
post-install:
${MKDIR} ${STAGEDIR}${DOCSDIR}