blob: 2dfb8e5cc1707888883e58a908db3cda9c6914f8 (
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
48
49
50
51
52
|
# New ports collection makefile for: snes9express
# Date created: 15 Mar 2004
# Whom: Travis Poppe <tlp@liquidx.org>
#
# $FreeBSD$
#
PORTNAME= snes9express
PORTVERSION= 1.43
PORTREVISION= 1
CATEGORIES= emulators
MASTER_SITES= SF
MAINTAINER= ports@FreeBSD.org
COMMENT= GTK interface for snes9x
RUN_DEPENDS= snes9x:${PORTSDIR}/emulators/snes9x
USE_GNOME= gtk20
USES= gettext
GNU_CONFIGURE= yes
BROKEN= does not build
PORTDOCS= AUTHORS ChangeLog NEWS README
PLIST_FILES= bin/${PORTNAME} \
%%DATADIR%%/snes.s9xskin \
%%DATADIR%%/snsp.s9xskin
PLIST_DIRS= %%DATADIR%%
post-patch:
@${REINPLACE_CMD} -e 's|<endian\.h>|<sys/endian.h>|' \
${WRKSRC}/s9xskin.cc
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
@${MKDIR} ${DATADIR}
${INSTALL_DATA} ${WRKSRC}/*.s9xskin ${DATADIR}
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
.for file in ${PORTDOCS}
${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
.endfor
.endif
.include <bsd.port.pre.mk>
.if ${ARCH} == "sparc64"
BROKEN= Does not compile on sparc64
.endif
.include <bsd.port.post.mk>
|