aboutsummaryrefslogtreecommitdiffstats
path: root/games
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2017-06-29 17:00:15 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2017-06-29 17:00:15 +0800
commit4e9883f0317d89656b748e1f69e0620b9697adcd (patch)
treefb0ad0fbcdb91a6ca89b258ce5e6724624b8f22c /games
parenta915ad675f1b6d6aa816a9062dcecb981591eac8 (diff)
downloadfreebsd-ports-gnome-4e9883f0317d89656b748e1f69e0620b9697adcd.tar.gz
freebsd-ports-gnome-4e9883f0317d89656b748e1f69e0620b9697adcd.tar.zst
freebsd-ports-gnome-4e9883f0317d89656b748e1f69e0620b9697adcd.zip
- Fix LICENSE
- Add LICENSE_FILE - Add missing depends - Switch to USES=localbase - Switch to options helpers
Diffstat (limited to 'games')
-rw-r--r--games/lander/Makefile13
1 files changed, 7 insertions, 6 deletions
diff --git a/games/lander/Makefile b/games/lander/Makefile
index 25812bbe9fa4..87117ea20e4c 100644
--- a/games/lander/Makefile
+++ b/games/lander/Makefile
@@ -11,19 +11,20 @@ MASTER_SITES= http://www.nickg.me.uk/files/ \
MAINTAINER= amdmi3@FreeBSD.org
COMMENT= Lunar Lander clone
-LICENSE= GPLv3
+LICENSE= GPLv3+
+LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libfreetype.so:print/freetype2 \
- libboost_filesystem.so:devel/boost-libs
+ libboost_filesystem.so:devel/boost-libs \
+ libpng.so:graphics/png
GNU_CONFIGURE= yes
-USES= gettext pkgconfig
+USES= gettext localbase pkgconfig
USE_SDL= sdl image mixer
USE_GL= gl glu
CONFIGURE_ARGS= --with-boost="${LOCALBASE}" \
--with-boost-filesystem=boost_filesystem
-LDFLAGS= -L${LOCALBASE}/lib
PORTDOCS= *
PORTDATA= *
@@ -40,8 +41,8 @@ OPTIONS_DEFINE= DOCS
post-patch:
@${REINPLACE_CMD} -e 's|-R$$found_dir||g' ${WRKSRC}/configure
-post-install:
- ${MKDIR} ${STAGEDIR}${DOCSDIR}
+post-install-DOCS-on:
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}/
.include <bsd.port.mk>