2013-09-20 18:43:52 +02:00
|
|
|
# Created by: alepulver
|
2007-02-25 16:12:40 +01:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= advancemess
|
|
|
|
PORTVERSION= 0.102.0.1
|
2014-09-10 22:50:31 +02:00
|
|
|
PORTREVISION= 5
|
2007-02-25 16:12:40 +01:00
|
|
|
CATEGORIES= emulators
|
2009-08-22 02:20:34 +02:00
|
|
|
MASTER_SITES= SF/advancemame/${PORTNAME}/${PORTVERSION}
|
2007-02-25 16:12:40 +01:00
|
|
|
|
2011-02-27 05:54:41 +01:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2007-02-25 16:12:40 +01:00
|
|
|
COMMENT= SDL MESS port with advanced TV and monitor video support
|
|
|
|
|
2014-04-09 14:20:08 +02:00
|
|
|
LIB_DEPENDS= libexpat.so:${PORTSDIR}/textproc/expat2
|
2007-02-25 16:12:40 +01:00
|
|
|
|
|
|
|
USE_GL= yes
|
2014-04-09 14:20:08 +02:00
|
|
|
USES= gmake
|
2007-02-25 16:12:40 +01:00
|
|
|
USE_SDL= sdl
|
|
|
|
GNU_CONFIGURE= yes
|
2011-09-24 00:26:39 +02:00
|
|
|
LDFLAGS+= -L${LOCALBASE}/lib
|
|
|
|
CFLAGS+= -idirafter ${LOCALBASE}/include
|
2007-02-25 16:12:40 +01:00
|
|
|
|
2012-06-12 12:34:46 +02:00
|
|
|
OPTIONS_DEFINE= FREETYPE SLANG
|
|
|
|
SLANG_DESC= Enable sLang support (for video driver)
|
2007-02-25 16:12:40 +01:00
|
|
|
|
2014-04-09 14:20:08 +02:00
|
|
|
FREETYPE_CONFIGURE_ENABLE= freetype
|
|
|
|
FREETYPE_LIB_DEPENDS= libfreetype.so:${PORTSDIR}/print/freetype2
|
|
|
|
|
|
|
|
SLANG_CONFIGURE_ENABLE= slang
|
|
|
|
SLANG_LIB_DEPENDS= libslang.so:${PORTSDIR}/devel/libslang2
|
2007-02-25 16:12:40 +01:00
|
|
|
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
|
|
|
.if ${ARCH} == "i386"
|
|
|
|
BUILD_DEPENDS+= nasm:${PORTSDIR}/devel/nasm
|
|
|
|
.endif
|
|
|
|
|
|
|
|
post-patch:
|
2014-04-09 14:20:08 +02:00
|
|
|
@${REINPLACE_CMD} -E -e '/pkgdocdir/d' \
|
|
|
|
-e 's,(bin|man|pkg)dir),DESTDIR)$$(&,' \
|
|
|
|
${WRKSRC}/advance/advance.mak
|
2007-02-25 16:12:40 +01:00
|
|
|
|
|
|
|
.include <bsd.port.post.mk>
|