aboutsummaryrefslogtreecommitdiffstats
path: root/games/fishsupper
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2017-01-05 18:50:12 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2017-01-05 18:50:12 +0800
commit25bfc3f8db58870307ca7d5145b6478f31552740 (patch)
tree55f7e11747f1110ce95f5ecc21bdf9a447e3a719 /games/fishsupper
parentb0f995de3bcfa069d4b5297b50525497c949f060 (diff)
downloadfreebsd-ports-gnome-25bfc3f8db58870307ca7d5145b6478f31552740.tar.gz
freebsd-ports-gnome-25bfc3f8db58870307ca7d5145b6478f31552740.tar.zst
freebsd-ports-gnome-25bfc3f8db58870307ca7d5145b6478f31552740.zip
- Switch to USES=localbase
- Remove always-true condition
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}