2000-07-16 17:32:28 +02:00
|
|
|
# New ports collection makefile for: GSnes9x
|
|
|
|
# Date created: 18 Jun 2000
|
|
|
|
# Whom: Kelly Yancey <kbyanc@posi.net>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= gsnes9x
|
2003-11-10 19:45:05 +01:00
|
|
|
PORTVERSION= 3.12
|
2000-07-16 17:32:28 +02:00
|
|
|
CATEGORIES= emulators
|
2002-12-11 12:58:24 +01:00
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}
|
|
|
|
DISTNAME= GSnes9x-${PORTVERSION}
|
2000-07-16 17:32:28 +02:00
|
|
|
|
2003-11-02 04:36:45 +01:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-03-07 07:14:21 +01:00
|
|
|
COMMENT= A GTK front-end for the Snes9X SNES emulator
|
2000-07-16 17:32:28 +02:00
|
|
|
|
|
|
|
RUN_DEPENDS= snes9x:${PORTSDIR}/emulators/snes9x
|
|
|
|
|
|
|
|
USE_X_PREFIX= yes
|
2003-11-10 19:45:05 +01:00
|
|
|
USE_GNOME= gnomehack gnomeprefix gnomelibs
|
|
|
|
USE_GMAKE= yes
|
2003-11-17 13:03:17 +01:00
|
|
|
USE_REINPLACE= yes
|
2003-11-10 19:45:05 +01:00
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
CONFGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
|
|
|
LDFLAGS="-L${LOCALBASE}/lib"
|
|
|
|
MAKE_ARGS= ACLOCAL="${TRUE}" AUTOCONF="${TRUE}" AUTOMAKE="${TRUE}" \
|
|
|
|
AUTOHEADER="${TRUE}"
|
|
|
|
|
|
|
|
post-patch:
|
|
|
|
@${FIND} ${WRKSRC} -name "Makefile.in" | ${XARGS} ${REINPLACE_CMD} -e \
|
|
|
|
's|^SUBDIRS = intl|SUBDIRS =|g ; \
|
|
|
|
s|@INTLLIBS@|-lintl|g ; \
|
|
|
|
s|@INTLDEPS@||g'
|
2000-07-16 17:32:28 +02:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|