summaryrefslogblamecommitdiff
path: root/emulators/gsnes9x/Makefile
blob: 65aa35e374205230d52b302cac5a8fe160ae40f5 (plain) (tree)
1
2
3
4
5
6
7
8
9







                                                                      
                    

                                                                        
                            


                               


                                                   
                   






                                            

                                













                                                                        
                              


                      
# New ports collection makefile for:	GSnes9x
# Date created:				18 Jun 2000
# Whom:					Kelly Yancey <kbyanc@posi.net>
#
# $FreeBSD$
#

PORTNAME=	gsnes9x
PORTVERSION=	3.10
CATEGORIES=	emulators
MASTER_SITES=	http://abulafia.fciencias.unam.mx/~canek/gsnes9x/source/
DISTNAME=	GSnes9x-3.10

MAINTAINER=	kbyanc@posi.net

RUN_DEPENDS=	snes9x:${PORTSDIR}/emulators/snes9x

GNU_CONFIGURE=	yes
USE_GNOME=	yes
USE_GMAKE=	yes
USE_X_PREFIX=	yes

CONFIGURE_ARGS=	--without-included-gettext \
		--with-esd

.if defined(NOPORTDOCS)

PLIST=	${FILESDIR}/PLIST.nodocs

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/src/GSnes9x ${PREFIX}/bin
	@${MKDIR} ${PREFIX}/share/gnome \
		  ${PREFIX}/share/gnome/apps \
		  ${PREFIX}/share/gnome/apps/Games \
		  ${PREFIX}/share/gnome/pixmaps
	${INSTALL_DATA} ${WRKSRC}/gsnes9x.desktop \
			${PREFIX}/share/gnome/apps/Games/gsnes9x.desktop
	${INSTALL_DATA} ${WRKSRC}/pixmaps/gsnesdefault.png \
			${PREFIX}/share/gnome/pixmaps
	${INSTALL_DATA} ${WRKSRC}/pixmaps/gsnes9x-icon.png \
			${PREFIX}/share/gnome/pixmaps
.else
PLIST=	${FILESDIR}/PLIST.docs
.endif

.include <bsd.port.mk>