Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 9 Apr 2014 14:17:27 +0000 (UTC)
From:      Pawel Pekala <pawel@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r350711 - head/emulators/cingb
Message-ID:  <201404091417.s39EHRni067511@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: pawel
Date: Wed Apr  9 14:17:26 2014
New Revision: 350711
URL: http://svnweb.freebsd.org/changeset/ports/350711
QAT: https://qat.redports.org/buildarchive/r350711/

Log:
  - Add staging support
  - More precise LICENSE
  - Conver to USES=tar:bzip2

Modified:
  head/emulators/cingb/Makefile

Modified: head/emulators/cingb/Makefile
==============================================================================
--- head/emulators/cingb/Makefile	Wed Apr  9 14:14:46 2014	(r350710)
+++ head/emulators/cingb/Makefile	Wed Apr  9 14:17:26 2014	(r350711)
@@ -9,12 +9,10 @@ MASTER_SITES=	SF
 MAINTAINER=	ports@FreeBSD.org
 COMMENT=	Yet another Nintendo GameBoy(tm) emulator
 
-LICENSE=	BSD
+LICENSE=	BSD3CLAUSE
 LICENSE_FILE=	${WRKSRC}/COPYING
 
-OPTIONS_DEFINE=	DOCS
-
-USE_BZIP2=	yes
+USES=		tar:bzip2
 USE_XORG=	x11 xext xv
 MAKE_ENV=	X11BASE="${LOCALBASE}"
 ALL_TARGET=	standard
@@ -25,7 +23,8 @@ PLIST_FILES=	bin/cingb bin/cingb_conf
 CPPFLAGS+=	${PTHREAD_CFLAGS}
 LDFLAGS+=	${PTHREAD_LIBS}
 
-NO_STAGE=	yes
+OPTIONS_DEFINE=	DOCS
+
 .include <bsd.port.pre.mk>
 
 .if ${ARCH} != "sparc64" && ${ARCH} != "powerpc"
@@ -54,12 +53,10 @@ do-configure:
 		 s|%%%joyconf%%%|conf|g' < Makefile.templ > Makefile
 
 do-install:
-	${INSTALL_PROGRAM} ${WRKSRC}/cingb ${PREFIX}/bin
-	${INSTALL_PROGRAM} ${WRKSRC}/cingb_conf ${PREFIX}/bin
-.if ${PORT_OPTIONS:MDOCS}
-	@${MKDIR} ${DOCSDIR}
-	${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
-	${INSTALL_DATA} ${WRKSRC}/README.FAQ ${DOCSDIR}
-.endif
+	${INSTALL_PROGRAM} ${WRKSRC}/cingb ${STAGEDIR}${PREFIX}/bin
+	${INSTALL_PROGRAM} ${WRKSRC}/cingb_conf ${STAGEDIR}${PREFIX}/bin
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
+	${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
+	${INSTALL_DATA} ${WRKSRC}/README.FAQ ${STAGEDIR}${DOCSDIR}
 
 .include <bsd.port.post.mk>



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