1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-13 07:34:50 +00:00
freebsd-ports/emulators/yabause/Makefile
Antoine Brodin 1df9d247be Convert the tree to USES=openal
Approved by:	portmgr (bapt)
2013-12-25 23:29:34 +00:00

54 lines
1.2 KiB
Makefile

# Created by: Jose Alonso Cardenas Marquez <acm@FreeBSD.org>
# $FreeBSD$
PORTNAME= yabause
PORTVERSION= 0.9.11.1
PORTREVISION= 3
CATEGORIES= emulators
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTVERSION:S/1.1/1/g}/
MAINTAINER= acm@FreeBSD.org
COMMENT= Sega Saturn system emulator
LIB_DEPENDS= gtkglext-x11-1.0.0:${PORTSDIR}/x11-toolkits/gtkglext
USE_AUTOTOOLS= automake:env autoconf:env aclocal:env
GNU_CONFIGURE= yes
USES= gmake openal:soft
USE_GL= gl glu glut
USE_GNOME= #
USE_SDL= yes
SUB_FILES= pkg-message
MAN1= yabause.1
OPTIONS_DEFINE= QT4
OPTIONS_DEFAULT= QT4
QT4_DESC= Build wit qt4 interface instead of gtk2 one
NO_STAGE= yes
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MQT4}
USE_QT4= corelib gui opengl
CONFIGURE_ARGS+= --with-port=qt
.else
USE_GNOME= gtk20
CONFIGURE_ARGS+= --with-port=gtk
.endif
.include <bsd.port.pre.mk>
post-patch:
@${REINPLACE_CMD} -e "s|%%ACLOCAL%%|${ACLOCAL}|g" -e "s|%%AUTOCONF%%|${AUTOCONF}|g" \
-e "s|%%AUTOMAKE%%|${AUTOMAKE}|g" ${WRKSRC}/autogen.sh
@${REINPLACE_CMD} -e "s|0.9.10|${PORTVERSION}|g" ${WRKSRC}/configure.in
pre-configure:
@cd ${WRKSRC} && ${SH} autogen.sh
post-install:
@${ECHO_CMD}; ${CAT} ${PKGMESSAGE}; ${ECHO_CMD}
.include <bsd.port.post.mk>