# Created by: Travis Poppe # $FreeBSD$ PORTNAME= snes9express PORTVERSION= 1.43 PORTREVISION= 1 CATEGORIES= emulators MASTER_SITES= SF MAINTAINER= ports@FreeBSD.org COMMENT= GTK interface for snes9x LICENSE= GPLv2 # (or later) RUN_DEPENDS= snes9x:${PORTSDIR}/emulators/snes9x USE_GNOME= gtk20 USES= gettext pkgconfig GNU_CONFIGURE= yes BROKEN_sparc64= does not compile on sparc64 PORTDOCS= AUTHORS ChangeLog NEWS README PLIST_FILES= bin/${PORTNAME} \ %%DATADIR%%/snes.s9xskin \ %%DATADIR%%/snsp.s9xskin PLIST_DIRS= %%DATADIR%% # fix build with clang CFLAGS+= -Wno-return-type post-patch: @${REINPLACE_CMD} -e 's|(gzFile\*)||' \ -e 's|\*fptr;|fptr;|' ${WRKSRC}/rom.cc @${REINPLACE_CMD} -e 's|||' \ ${WRKSRC}/s9xskin.cc do-install: ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin @${MKDIR} ${STAGEDIR}${DATADIR} ${INSTALL_DATA} ${WRKSRC}/*.s9xskin ${STAGEDIR}${DATADIR} @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR} .include