Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 21 Dec 2013 10:32:20 +0000 (UTC)
From:      Mathieu Arnold <mat@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-branches@freebsd.org
Subject:   svn commit: r337133 - branches/2014Q1/games/stransball2
Message-ID:  <201312211032.rBLAWKTZ082379@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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@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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201312211032.rBLAWKTZ082379>