blob: 021d740c402e0e5ebe65901ae8c6b507b32f7c47 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
|
# New ports collection makefile for: gens
# Date created: 22 Jun 2005
# Whom: Travis Poppe <tlp@liquidx.org>
#
# $FreeBSD$
#
PORTNAME= gens
PORTVERSION= 2.12a
PORTREVISION= 1
CATEGORIES= emulators
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
DISTNAME= Gens212a1SrcL
MAINTAINER= tlp@liquidx.org
COMMENT= Sega Genesis/CD/32X emulator
BUILD_DEPENDS= nasm:${PORTSDIR}/devel/nasm
WRKSRC= ${WRKDIR}/${PORTNAME}_linux/${PORTNAME}
USE_ZIP= yes
USE_SDL= sdl
USE_GNOME= gtk20
USE_GMAKE= yes
ONLY_FOR_ARCHS= i386
post-patch:
${REINPLACE_CMD} -e 's|sdl-config|${SDL_CONFIG}|' ${WRKSRC}/Makefile
${REINPLACE_CMD} -e 's|gcc|${CC}|' ${WRKSRC}/Makefile
${REINPLACE_CMD} -e 's|g++|${CXX}|' ${WRKSRC}/Makefile
${REINPLACE_CMD} -e 's|%%LDFLAGS%%|${LDFLAGS}|' ${WRKSRC}/Makefile
@${CAT} ${FILESDIR}/gens.in | ${SED} -e 's,%%PREFIX%%,${PREFIX},g' > ${WRKDIR}/gens
do-install:
${MKDIR} ${PREFIX}/share/gens
${MKDIR} ${PREFIX}/share/gens/resource
${INSTALL_SCRIPT} ${WRKDIR}/gens ${PREFIX}/bin/gens
${INSTALL_PROGRAM} ${WRKSRC}/gens ${PREFIX}/share/gens/gens
${INSTALL_DATA} ${WRKSRC}/resource/* ${PREFIX}/share/gens/resource
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKDIR}/${PORTNAME}_linux/README ${DOCSDIR}/README
.endif
.include <bsd.port.mk>
|