aboutsummaryrefslogtreecommitdiffstats
path: root/games
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2014-12-04 15:40:58 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2014-12-04 15:40:58 +0800
commit800231b4d25f480d4b3c0f5f2b77fd2e5ac5bb3d (patch)
tree5bbe88f69af06e263b5933e22f42721d94261ab9 /games
parent1fe74879132f1bce8e1944052c9e8128f3c7217b (diff)
downloadfreebsd-ports-graphics-800231b4d25f480d4b3c0f5f2b77fd2e5ac5bb3d.tar.gz
freebsd-ports-graphics-800231b4d25f480d4b3c0f5f2b77fd2e5ac5bb3d.tar.zst
freebsd-ports-graphics-800231b4d25f480d4b3c0f5f2b77fd2e5ac5bb3d.zip
- Add LICENSE
- Add OPSYS to OSVERSION check
Diffstat (limited to 'games')
-rw-r--r--games/fishsupper/Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/games/fishsupper/Makefile b/games/fishsupper/Makefile
index aec44ccc908..9d523efac56 100644
--- a/games/fishsupper/Makefile
+++ b/games/fishsupper/Makefile
@@ -10,6 +10,9 @@ MASTER_SITES= SF
MAINTAINER= amdmi3@FreeBSD.org
COMMENT= Guide a cat across a series of rivers, jumping from log to log
+LICENSE= GPLv3 # or later
+LICENSE_FILE= ${WRKSRC}/COPYING
+
BUILD_DEPENDS= ${LOCALBASE}/include/boost/bind.hpp:${PORTSDIR}/devel/boost-libs
GNU_CONFIGURE= yes
@@ -35,15 +38,13 @@ OPTIONS_DEFINE= DOCS
.include <bsd.port.options.mk>
-.if ${OSVERSION} > 1000000
+.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:
-.if ${PORT_OPTIONS:MDOCS}
${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
-.endif
.include <bsd.port.mk>