2003-10-06 08:26:57 +02:00
|
|
|
# New ports collection makefile for: gxmame
|
|
|
|
# Date created: 04 Oct 2003
|
|
|
|
# Whom: Travis Poppe <tlp@liquidx.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= gxmame
|
2005-04-15 18:49:50 +02:00
|
|
|
DISTVERSION= 0.35beta2
|
2012-06-01 07:26:28 +02:00
|
|
|
PORTREVISION= 12
|
2005-04-15 18:49:50 +02:00
|
|
|
PORTEPOCH= 1
|
2003-10-06 08:26:57 +02:00
|
|
|
CATEGORIES= emulators
|
2009-08-22 02:20:34 +02:00
|
|
|
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/0.35beta2
|
2005-04-15 18:49:50 +02:00
|
|
|
DISTNAME= ${PORTNAME}-${DISTVERSION}
|
2003-10-06 08:26:57 +02:00
|
|
|
|
2006-09-05 06:26:12 +02:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-10-06 08:26:57 +02:00
|
|
|
COMMENT= GXmame is a GTK frontend for xmame
|
|
|
|
|
2006-01-31 00:20:05 +01:00
|
|
|
LIB_DEPENDS= expat.6:${PORTSDIR}/textproc/expat2
|
2003-10-06 08:30:01 +02:00
|
|
|
RUN_DEPENDS= xmame:${PORTSDIR}/emulators/xmame
|
2003-10-06 08:26:57 +02:00
|
|
|
|
2005-04-15 18:49:50 +02:00
|
|
|
USE_GNOME= gtk20 intlhack gnomehack gnomeprefix
|
2005-03-12 10:28:15 +01:00
|
|
|
USE_GMAKE= yes
|
2003-10-06 08:26:57 +02:00
|
|
|
GNU_CONFIGURE= yes
|
2003-12-21 03:39:23 +01:00
|
|
|
|
2011-09-24 00:26:39 +02:00
|
|
|
LDFLAGS+= -L${LOCALBASE}/lib
|
2006-10-14 10:54:54 +02:00
|
|
|
CONFIGURE_ARGS= --with-xmame-dir=${LOCALBASE}/share/xmame
|
2004-01-06 01:00:32 +01:00
|
|
|
|
2005-04-15 18:49:50 +02:00
|
|
|
.if defined(WITHOUT_NLS)
|
|
|
|
CONFIGURE_ARGS+=--disable-nls
|
|
|
|
PLIST_SUB+= NLS="@comment "
|
|
|
|
.else
|
|
|
|
PLIST_SUB+= NLS=""
|
|
|
|
.endif
|
|
|
|
|
|
|
|
MAN6= gxmame.6
|
|
|
|
|
|
|
|
post-patch:
|
|
|
|
@${REINPLACE_CMD} -e 's|CFLAGS="-Wall.*||' ${WRKSRC}/configure
|
|
|
|
@${REINPLACE_CMD} -e 's|__GNUC___|__GNUC__|' ${WRKSRC}/src/common.h
|
2003-10-06 08:26:57 +02:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|