svn commit: r334288 - head/games/cube

Baptiste Daroussin bapt at FreeBSD.org
Tue Nov 19 08:37:06 UTC 2013


Author: bapt
Date: Tue Nov 19 08:37:05 2013
New Revision: 334288
URL: http://svnweb.freebsd.org/changeset/ports/334288

Log:
  Convert from USE_DOS2UNIX to dos2unix
  Use bsdtar to extract everything

Modified:
  head/games/cube/Makefile

Modified: head/games/cube/Makefile
==============================================================================
--- head/games/cube/Makefile	Tue Nov 19 08:13:56 2013	(r334287)
+++ head/games/cube/Makefile	Tue Nov 19 08:37:05 2013	(r334288)
@@ -7,16 +7,13 @@ PORTREVISION=	11
 CATEGORIES=	games
 MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}/${DISTVERSION}
 DISTFILES=	${CUBE_DATA} ${CUBE_SRC}
-EXTRACT_ONLY=	${CUBE_SRC}
 
 MAINTAINER=	ports at FreeBSD.org
 COMMENT=	OpenGL 3D FPS (first person shooter) game
 
 BUILD_DEPENDS=	${LOCALBASE}/lib/libenet.a:${PORTSDIR}/net/enet
 
-USE_ZIP=	yes
-USE_DOS2UNIX=	yes
-USES=		gmake
+USES=		dos2unix gmake
 ALL_TARGET=	#
 USE_XORG=	x11
 
@@ -56,9 +53,6 @@ ALL_TARGET+=	server
 CUBE_BIN+=	server
 .endif
 
-post-extract:
-	@${TAR} zxf ${DISTDIR}/${CUBE_DATA} -C ${WRKDIR}
-
 do-install:
 .for f in ${CUBE_BIN}
 	${INSTALL_SCRIPT} ${WRKDIR}/cube_${f} ${STAGEDIR}${PREFIX}/bin


More information about the svn-ports-head mailing list