freebsd-ports/emulators/gsnes9x/Makefile
Alexander Langer 574c0a60de PKGDIR is supposed to be read-only.
Use PLIST var instead.

Submitted by:	bento
2000-08-13 16:26:26 +00:00

50 lines
1.2 KiB
Makefile

# New ports collection makefile for: GSnes9x
# Date created: 18 Jun 2000
# Whom: Kelly Yancey <kbyanc@posi.net>
#
# $FreeBSD$
#
PORTNAME= gsnes9x
PORTVERSION= 3.0
CATEGORIES= emulators
MASTER_SITES= http://abulafia.fciencias.unam.mx/~canek/gsnes9x/source/
DISTNAME= GSnes9x-3.0
MAINTAINER= kbyanc@posi.net
LIB_DEPENDS= intl.1:${PORTSDIR}/devel/gettext \
gtk12.2:${PORTSDIR}/x11-toolkits/gtk12 \
gnome.4:${PORTSDIR}/x11/gnomelibs \
esd.2:${PORTSDIR}/audio/esound
RUN_DEPENDS= snes9x:${PORTSDIR}/emulators/snes9x
GNU_CONFIGURE= 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>