svn commit: r329254 - head/games/flyhard
Dmitry Marakasov
amdmi3 at FreeBSD.org
Fri Oct 4 01:40:01 UTC 2013
Author: amdmi3
Date: Fri Oct 4 01:40:00 2013
New Revision: 329254
URL: http://svnweb.freebsd.org/changeset/ports/329254
Log:
- Support staging
- Convert USE_GMAKE to USES
- Use new LIB_DEPENDS syntax
Deleted:
head/games/flyhard/pkg-plist
Modified:
head/games/flyhard/Makefile
Modified: head/games/flyhard/Makefile
==============================================================================
--- head/games/flyhard/Makefile Fri Oct 4 01:36:13 2013 (r329253)
+++ head/games/flyhard/Makefile Fri Oct 4 01:40:00 2013 (r329254)
@@ -11,27 +11,28 @@ MASTER_SITES= http://www.markboyd.me.uk/
MAINTAINER= amdmi3 at FreeBSD.org
COMMENT= Game resembling Thrust, but with lots of shooting and puzzles
-LIB_DEPENDS= png15:${PORTSDIR}/graphics/png
+LIB_DEPENDS= libpng.so:${PORTSDIR}/graphics/png
BUILD_DEPENDS= ${LOCALBASE}/include/boost/shared_ptr.hpp:${PORTSDIR}/devel/boost-libs
GNU_CONFIGURE= yes
-USE_GMAKE= yes
+USES= gmake
USE_SDL= sdl mixer
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= ${PTHREAD_LIBS} -L${LOCALBASE}/lib
-PORTDOCS= README
+PLIST_FILES= bin/${PORTNAME}
+PORTDOCS= *
+PORTDATA= *
+
+OPTIONS_DEFINE= DOCS
-NO_STAGE= yes
.include <bsd.port.options.mk>
post-install:
.if ${PORT_OPTIONS:MDOCS}
- ${MKDIR} ${DOCSDIR}
-.for f in ${PORTDOCS}
- ${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
-.endfor
+ ${MKDIR} ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
.endif
.include <bsd.port.mk>
More information about the svn-ports-all
mailing list