Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 20 Dec 2013 17:13:03 +0000 (UTC)
From:      Dmitry Marakasov <amdmi3@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r337043 - head/games/biniax2
Message-ID:  <201312201713.rBKHD3Fm050899@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Fri Dec 20 17:13:02 2013
New Revision: 337043
URL: http://svnweb.freebsd.org/changeset/ports/337043

Log:
  - Support staging
  - Prevent DOS2UNIX from corrupting binary files

Deleted:
  head/games/biniax2/pkg-plist
Modified:
  head/games/biniax2/Makefile

Modified: head/games/biniax2/Makefile
==============================================================================
--- head/games/biniax2/Makefile	Fri Dec 20 17:10:47 2013	(r337042)
+++ head/games/biniax2/Makefile	Fri Dec 20 17:13:02 2013	(r337043)
@@ -3,7 +3,7 @@
 
 PORTNAME=	biniax2
 PORTVERSION=	1.30
-PORTREVISION=	6
+PORTREVISION=	7
 CATEGORIES=	games
 MASTER_SITES=	http://mordred.dir.bg/biniax/ \
 		http://mirror.amdmi3.ru/distfiles/
@@ -13,10 +13,12 @@ MAINTAINER=	amdmi3@FreeBSD.org
 COMMENT=	Original logic game with arcade and tactics modes
 
 USE_SDL=	sdl mixer image
-USE_DOS2UNIX=	yes
+USE_DOS2UNIX=	biniax.c
 NO_WRKSUBDIR=	yes
 
-NO_STAGE=	yes
+PLIST_FILES=	bin/${PORTNAME}
+PORTDATA=	*
+
 post-patch:
 	@${RM} -f ${WRKSRC}/data/Thumbs.db
 	@${REINPLACE_CMD} -e 's|data/|${DATADIR}/|g' \
@@ -29,8 +31,7 @@ do-build:
 		-lSDL_image -lSDL_mixer -o ${PORTNAME}
 
 do-install:
-	${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
-	${MKDIR} ${DATADIR}
-	cd ${WRKSRC}/data && ${COPYTREE_SHARE} . ${DATADIR}
+	${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/
+	cd ${WRKSRC}/data && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR}/
 
 .include <bsd.port.mk>



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