freebsd-ports/emulators/advancemess/Makefile
2012-06-12 10:34:46 +00:00

57 lines
1.1 KiB
Makefile

# New ports collection makefile for: advancemess
# Date created: 2007-01-10
# Whom: alepulver
#
# $FreeBSD$
#
PORTNAME= advancemess
PORTVERSION= 0.102.0.1
PORTREVISION= 3
CATEGORIES= emulators
MASTER_SITES= SF/advancemame/${PORTNAME}/${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= SDL MESS port with advanced TV and monitor video support
LIB_DEPENDS= expat.6:${PORTSDIR}/textproc/expat2
USE_GL= yes
USE_GMAKE= yes
USE_SDL= sdl
GNU_CONFIGURE= yes
LDFLAGS+= -L${LOCALBASE}/lib
CFLAGS+= -idirafter ${LOCALBASE}/include
OPTIONS_DEFINE= FREETYPE SLANG
SLANG_DESC= Enable sLang support (for video driver)
MAN1= advmess.1
.include <bsd.port.pre.mk>
.if ${ARCH} == "i386"
BUILD_DEPENDS+= nasm:${PORTSDIR}/devel/nasm
.endif
.if ${PORT_OPTIONS:MFREETYPE}
LIB_DEPENDS+= freetype.9:${PORTSDIR}/print/freetype2
.else
CONFIGURE_ARGS+=--disable-freetype
.endif
.if ${PORT_OPTIONS:MSLANG}
LIB_DEPENDS+= slang.2:${PORTSDIR}/devel/libslang2
.else
CONFIGURE_ARGS+=--disable-slang
.endif
post-patch:
@${REINPLACE_CMD} -e '/pkgdocdir/d' ${WRKSRC}/advance/advance.mak
post-install:
@${ECHO_CMD}
@${CAT} ${PKGMESSAGE}
@${ECHO_CMD}
.include <bsd.port.post.mk>