aboutsummaryrefslogtreecommitdiffstats
path: root/emulators
diff options
context:
space:
mode:
authorpawel <pawel@FreeBSD.org>2014-04-09 22:17:26 +0800
committerpawel <pawel@FreeBSD.org>2014-04-09 22:17:26 +0800
commit65bd12cbce165f49ac145ccf5dc44f0119aa62fe (patch)
treed8b1f8949709d55f6d7ea958946132bb91bf6866 /emulators
parent360e5f2fa234b246f01aa76e754c003020548126 (diff)
downloadfreebsd-ports-gnome-65bd12cbce165f49ac145ccf5dc44f0119aa62fe.tar.gz
freebsd-ports-gnome-65bd12cbce165f49ac145ccf5dc44f0119aa62fe.tar.zst
freebsd-ports-gnome-65bd12cbce165f49ac145ccf5dc44f0119aa62fe.zip
- Add staging support
- More precise LICENSE - Conver to USES=tar:bzip2
Diffstat (limited to 'emulators')
-rw-r--r--emulators/cingb/Makefile21
1 files changed, 9 insertions, 12 deletions
diff --git a/emulators/cingb/Makefile b/emulators/cingb/Makefile
index 5d2b3465875f..d588f0383d10 100644
--- a/emulators/cingb/Makefile
+++ b/emulators/cingb/Makefile
@@ -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>