svn commit: r337133 - branches/2014Q1/games/stransball2
Mathieu Arnold
mat at FreeBSD.org
Sat Dec 21 10:32:21 UTC 2013
Author: mat
Date: Sat Dec 21 10:32:20 2013
New Revision: 337133
URL: http://svnweb.freebsd.org/changeset/ports/337133
Log:
MFH: r337115
- Support staging
- Convert USE_GMAKE to USES
- Use new LIB_DEPENDS syntax
- Fix DOS2UNIX to not corrupt unrelated files
Approved by: portmgr (implicit)
Deleted:
branches/2014Q1/games/stransball2/pkg-plist
Modified:
branches/2014Q1/games/stransball2/Makefile
Directory Properties:
branches/2014Q1/ (props changed)
Modified: branches/2014Q1/games/stransball2/Makefile
==============================================================================
--- branches/2014Q1/games/stransball2/Makefile Sat Dec 21 10:31:22 2013 (r337132)
+++ branches/2014Q1/games/stransball2/Makefile Sat Dec 21 10:32:20 2013 (r337133)
@@ -12,19 +12,20 @@ DISTNAME= ${PORTNAME}-v${PORTVERSION:C/\
MAINTAINER= amdmi3 at FreeBSD.org
COMMENT= A sequel to Transball and Transball 2 THRUST-type games
-LIB_DEPENDS= SGE:${PORTSDIR}/devel/sdl_sge
+LIB_DEPENDS= libSGE.so:${PORTSDIR}/devel/sdl_sge
USE_ZIP= yes
-USE_GMAKE= yes
+USES= gmake dos2unix
+DOS2UNIX_FILES= sources/main.cpp
USE_SDL= sdl image mixer sound
-USE_DOS2UNIX= yes
BUILD_WRKSRC= ${WRKSRC}/sources
-PORTDOCS= readme.txt
+PLIST_FILES= bin/${PORTNAME}
+PORTDATA= *
+PORTDOCS= *
-NO_STAGE= yes
-.include <bsd.port.options.mk>
+OPTIONS_DEFINE= DOCS
post-extract:
@${RM} -f ${WRKSRC}/sound/WS_FTP.LOG
@@ -36,15 +37,9 @@ post-patch:
s|"maps"|"${DATADIR}/maps"|g'
do-install:
- ${INSTALL_PROGRAM} ${BUILD_WRKSRC}/stransball2 ${PREFIX}/bin
- ${MKDIR} ${DATADIR}
- cd ${WRKSRC} && ${COPYTREE_SHARE} 'graphics sound maps demos' ${DATADIR}
-
-.if ${PORT_OPTIONS:MDOCS}
- ${MKDIR} ${DOCSDIR}
-.for f in ${PORTDOCS}
- ${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
-.endfor
-.endif
+ ${INSTALL_PROGRAM} ${BUILD_WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/
+ cd ${WRKSRC} && ${COPYTREE_SHARE} 'graphics sound maps demos' ${STAGEDIR}${DATADIR}/
+ ${MKDIR} ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/readme.txt ${STAGEDIR}${DOCSDIR}/
.include <bsd.port.mk>
More information about the svn-ports-all
mailing list