aboutsummaryrefslogtreecommitdiff
path: root/emulators/ines/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'emulators/ines/Makefile')
-rw-r--r--emulators/ines/Makefile15
1 files changed, 12 insertions, 3 deletions
diff --git a/emulators/ines/Makefile b/emulators/ines/Makefile
index aa31d9209f66..a022c1c599be 100644
--- a/emulators/ines/Makefile
+++ b/emulators/ines/Makefile
@@ -7,7 +7,7 @@
PORTNAME= ines
PORTVERSION= 3.0
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= emulators
MASTER_SITES= http://fms.komkon.org/iNES/
DISTNAME= iNES30-FreeBSD-80x86-bin
@@ -16,11 +16,20 @@ EXTRACT_SUFX= .tar.Z
MAINTAINER= ports@FreeBSD.org
COMMENT= Nintendo Entertainment System emlator for X
+ONLY_FOR_ARCHS= i386
+ONLY_FOR_ARCHS_REASON= is an i386 binary
+
NO_WRKSUBDIR= yes
-USE_X_PREFIX= yes
+USE_XORG= x11 xext
NO_BUILD= yes
STRIP=
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} >= 600000
+LIB_DEPENDS+= c.5:${PORTSDIR}/misc/compat5x
+.endif
+
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/ines ${PREFIX}/bin
${MKDIR} ${DATADIR}
@@ -28,4 +37,4 @@ do-install:
${INSTALL_DATA} ${WRKSRC}/CART.NES ${DATADIR}
${INSTALL_DATA} ${WRKSRC}/*.pal ${DATADIR}
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>