|
Lines 1-9
Link Here
|
| 1 |
# New ports collection makefile for: snes9express |
1 |
# Created by: Travis Poppe <tlp@liquidx.org> |
| 2 |
# Date created: 15 Mar 2004 |
|
|
| 3 |
# Whom: Travis Poppe <tlp@liquidx.org> |
| 4 |
# |
| 5 |
# $FreeBSD: head/emulators/snes9express/Makefile 316464 2013-04-24 18:10:30Z ak $ |
2 |
# $FreeBSD: head/emulators/snes9express/Makefile 316464 2013-04-24 18:10:30Z ak $ |
| 6 |
# |
|
|
| 7 |
|
3 |
|
| 8 |
PORTNAME= snes9express |
4 |
PORTNAME= snes9express |
| 9 |
PORTVERSION= 1.43 |
5 |
PORTVERSION= 1.43 |
|
Lines 14-53
Link Here
|
| 14 |
MAINTAINER= ports@FreeBSD.org |
10 |
MAINTAINER= ports@FreeBSD.org |
| 15 |
COMMENT= GTK interface for snes9x |
11 |
COMMENT= GTK interface for snes9x |
| 16 |
|
12 |
|
|
|
13 |
LICENSE= GPLv2 # (or later) |
| 14 |
|
| 17 |
RUN_DEPENDS= snes9x:${PORTSDIR}/emulators/snes9x |
15 |
RUN_DEPENDS= snes9x:${PORTSDIR}/emulators/snes9x |
| 18 |
|
16 |
|
|
|
17 |
OPTIONS_DEFINE= DOCS |
| 18 |
|
| 19 |
USE_GNOME= gtk20 |
19 |
USE_GNOME= gtk20 |
| 20 |
USES= gettext |
20 |
USES= gettext |
| 21 |
GNU_CONFIGURE= yes |
21 |
GNU_CONFIGURE= yes |
| 22 |
MAKE_JOBS_SAFE= yes |
22 |
MAKE_JOBS_SAFE= yes |
| 23 |
|
23 |
|
| 24 |
BROKEN= does not build |
|
|
| 25 |
|
| 26 |
PORTDOCS= AUTHORS ChangeLog NEWS README |
24 |
PORTDOCS= AUTHORS ChangeLog NEWS README |
| 27 |
PLIST_FILES= bin/${PORTNAME} \ |
25 |
PLIST_FILES= bin/${PORTNAME} \ |
| 28 |
%%DATADIR%%/snes.s9xskin \ |
26 |
%%DATADIR%%/snes.s9xskin \ |
| 29 |
%%DATADIR%%/snsp.s9xskin |
27 |
%%DATADIR%%/snsp.s9xskin |
| 30 |
PLIST_DIRS= %%DATADIR%% |
28 |
PLIST_DIRS= %%DATADIR%% |
| 31 |
|
29 |
|
|
|
30 |
.include <bsd.port.pre.mk> |
| 31 |
|
| 32 |
.if ${ARCH} == "sparc64" |
| 33 |
BROKEN= Does not compile on sparc64 |
| 34 |
.endif |
| 35 |
|
| 32 |
post-patch: |
36 |
post-patch: |
| 33 |
@${REINPLACE_CMD} -e 's|<endian\.h>|<sys/endian.h>|' \ |
37 |
@${REINPLACE_CMD} -e \ |
| 34 |
${WRKSRC}/s9xskin.cc |
38 |
's|(gzFile\*)|| ; \ |
|
|
39 |
s|\*fptr;|fptr;|' ${WRKSRC}/rom.cc |
| 40 |
@${REINPLACE_CMD} -e \ |
| 41 |
's|<endian\.h>|<sys/endian.h>|' ${WRKSRC}/s9xskin.cc |
| 35 |
|
42 |
|
| 36 |
do-install: |
43 |
do-install: |
| 37 |
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin |
44 |
(cd ${WRKSRC} && ${INSTALL_PROGRAM} ${PORTNAME} ${PREFIX}/bin) |
| 38 |
@${MKDIR} ${DATADIR} |
45 |
@${MKDIR} ${DATADIR} |
| 39 |
${INSTALL_DATA} ${WRKSRC}/*.s9xskin ${DATADIR} |
46 |
(cd ${WRKSRC} && ${INSTALL_DATA} *.s9xskin ${DATADIR}) |
| 40 |
.if !defined(NOPORTDOCS) |
47 |
.if ${PORT_OPTIONS:MDOCS} |
| 41 |
@${MKDIR} ${DOCSDIR} |
48 |
@${MKDIR} ${DOCSDIR} |
| 42 |
.for file in ${PORTDOCS} |
49 |
.for i in ${PORTDOCS} |
| 43 |
${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR} |
50 |
(cd ${WRKSRC} && ${INSTALL_DATA} ${i} ${DOCSDIR}) |
| 44 |
.endfor |
51 |
.endfor |
| 45 |
.endif |
52 |
.endif |
| 46 |
|
53 |
|
| 47 |
.include <bsd.port.pre.mk> |
|
|
| 48 |
|
| 49 |
.if ${ARCH} == "sparc64" |
| 50 |
BROKEN= Does not compile on sparc64 |
| 51 |
.endif |
| 52 |
|
| 53 |
.include <bsd.port.post.mk> |
54 |
.include <bsd.port.post.mk> |