aboutsummaryrefslogtreecommitdiff
path: root/emulators/gens
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2016-01-31 18:03:05 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2016-01-31 18:03:05 +0000
commita8a3f6b1105db4913727519c23ffa4d40c161f65 (patch)
treeb6ea3d02c65226408e7440df9492b6a812a30b61 /emulators/gens
parent2c756d450e6e50723a9c6e8e2ce7f6e585aa54a2 (diff)
downloadports-a8a3f6b1105db4913727519c23ffa4d40c161f65.tar.gz
ports-a8a3f6b1105db4913727519c23ffa4d40c161f65.zip
- Add LICENSE_FILE
- Switch to USES=localbase - Switch to options helpers
Notes
Notes: svn path=/head/; revision=407659
Diffstat (limited to 'emulators/gens')
-rw-r--r--emulators/gens/Makefile14
1 files changed, 5 insertions, 9 deletions
diff --git a/emulators/gens/Makefile b/emulators/gens/Makefile
index 1caaae125195..27c9c2154611 100644
--- a/emulators/gens/Makefile
+++ b/emulators/gens/Makefile
@@ -11,26 +11,22 @@ MAINTAINER= ports@FreeBSD.org
COMMENT= Sega Genesis/CD/32X emulator
LICENSE= GPLv2
+LICENSE_FILE= ${WRKSRC}/COPYING
BUILD_DEPENDS= nasm:${PORTSDIR}/devel/nasm
-OPTIONS_DEFINE= DOCS
-
ONLY_FOR_ARCHS= i386
ONLY_FOR_ARCHS_REASON= uses i386 assembly code
-USES= gmake pkgconfig
+USES= gmake localbase pkgconfig
USE_GNOME= gtk20
USE_GL= gl
USE_SDL= sdl
GNU_CONFIGURE= yes
-CPPFLAGS+= -I${LOCALBASE}/include
-LDFLAGS+= -L${LOCALBASE}/lib
-
DESKTOP_ENTRIES="Gens" "" "${DATADIR}/gens_small.png" "${PORTNAME}" "" ""
-.include <bsd.port.options.mk>
+OPTIONS_DEFINE= DOCS
post-patch:
.for i in gens_core/sound/ym2612.h mp3_dec/mpg123.h
@@ -39,8 +35,8 @@ post-patch:
${WRKSRC}/src/gens/${i}
.endfor
-post-install:
+post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
- (cd ${WRKSRC} && ${INSTALL_DATA} README ${STAGEDIR}${DOCSDIR})
+ ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>