View | Details | Raw Unified | Return to bug 185310
Collapse All | Expand All

(-)emulators/tuxnes/Makefile (-6 / +25 lines)
Lines 3-23 Link Here
3
3
4
PORTNAME=	tuxnes
4
PORTNAME=	tuxnes
5
PORTVERSION=	0.75
5
PORTVERSION=	0.75
6
PORTREVISION=	4
6
PORTREVISION=	6
7
CATEGORIES=	emulators
7
CATEGORIES=	emulators
8
MASTER_SITES=	SF/${PORTNAME}/TuxNES/TuxNES%20v${PORTVERSION}
8
MASTER_SITES=	SF/${PORTNAME}/TuxNES/TuxNES%20v${PORTVERSION}
9
9
10
MAINTAINER=	ports@FreeBSD.org
10
MAINTAINER=	ports@FreeBSD.org
11
COMMENT=	A Nintendo Entertainment System 8-bit emulator
11
COMMENT=	Nintendo Entertainment System 8-bit emulator
12
13
LICENSE=	GPLv2
12
14
13
ONLY_FOR_ARCHS=	i386
15
ONLY_FOR_ARCHS=	i386
14
ONLY_FOR_ARCHS_REASON=	uses i386 assembly code
16
ONLY_FOR_ARCHS_REASON=	uses i386 assembly code
15
17
18
USES=		compiler gmake
16
USE_XORG=	x11 ice sm xext xpm
19
USE_XORG=	x11 ice sm xext xpm
17
USE_GMAKE=	yes
20
USE_BINUTILS=	yes
18
GNU_CONFIGURE=	yes
21
GNU_CONFIGURE=	yes
19
22
20
PLIST_FILES=	bin/romfixer bin/tuxnes
23
PLIST_FILES=	bin/romfixer bin/tuxnes share/pixmaps/tuxnes.xpm
24
25
DESKTOP_ENTRIES="TuxNES" "" "${PREFIX}/share/pixmaps/tuxnes.xpm" \
26
		"${PORTNAME}" "" ""
27
28
.include <bsd.port.pre.mk>
29
30
.if ${COMPILER_TYPE} == "clang"
31
CPPFLAGS+=	-no-integrated-as
32
.endif
33
34
post-patch:
35
	@${REINPLACE_CMD} -e \
36
		's|^CFLAGS=|#CFLAGS=|' ${WRKSRC}/configure
37
38
post-install:
39
	(cd ${WRKSRC} && ${INSTALL_DATA} tuxnes.xpm \
40
		${STAGEDIR}${PREFIX}/share/pixmaps)
21
41
22
NO_STAGE=	yes
42
.include <bsd.port.post.mk>
23
.include <bsd.port.mk>

Return to bug 185310