mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-25 04:43:33 +00:00
fbd0197639
- Update audio/sdl_mixer to 1.2.15 - Update graphics/sdl_image to 1.2.12 - Update graphics/sdl_ttf to 2.0.11 - Update graphics/sdl_gfx to 2.0.23 - Update net/sdl_net to 1.2.8 - Bump PORTREVISIONs on ports that depend on one or more packages due to ABI and shared library version changes - Update Mk/bsd.sdl.mk accordingly for the new shared library versions Tested by: exp-run by pav
63 lines
1.3 KiB
Makefile
63 lines
1.3 KiB
Makefile
# New ports collection makefile for: mednafen
|
|
# Date created: 2006-02-28
|
|
# Whom: Charlie & <root@bsd.org.pe>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= mednafen
|
|
PORTVERSION= 0.8.B
|
|
PORTREVISION= 6
|
|
PORTEPOCH= 1
|
|
CATEGORIES= emulators games
|
|
MASTER_SITES= SF/${PORTNAME}/Mednafen/${PORTVERSION}
|
|
|
|
MAINTAINER= acm@FreeBSD.org
|
|
COMMENT= Portable multi-system emulator
|
|
|
|
LIB_DEPENDS= cdio.13:${PORTSDIR}/sysutils/libcdio \
|
|
sndfile.1:${PORTSDIR}/audio/libsndfile \
|
|
vorbis.4:${PORTSDIR}/audio/libvorbis
|
|
|
|
USE_BZIP2= yes
|
|
USE_GMAKE= yes
|
|
GNU_CONFIGURE= yes
|
|
USE_SDL= sdl net
|
|
USE_XORG= x11
|
|
USE_GL= glut
|
|
CPPFLAGS+= -I${LOCALBASE}/include
|
|
LDFLAGS+= -L${LOCALBASE}/lib ${PTHREAD}
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}
|
|
SUB_FILES= pkg-message
|
|
|
|
OPTIONS= NLS "Native Language Support" on
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if defined(WITHOUT_NLS)
|
|
CONFIGURE_ARGS+= --disable-nls
|
|
PLIST_SUB+= NLS="@comment "
|
|
.else
|
|
USE_GETTEXT= yes
|
|
PLIST_SUB+= NLS=""
|
|
FLAG_NLS= true
|
|
.endif
|
|
|
|
.if ${ARCH}==sparc64
|
|
BROKEN= does not compile on ${ARCH} due to internal compiler error
|
|
.endif
|
|
|
|
pre-configure:
|
|
@${REINPLACE_CMD} -e 's|sdl-config|${SDL_CONFIG}|g' -e \
|
|
's|/usr/local|${LOCALBASE}|g' -e 's|/usr/X11R6|${LOCALBASE}|g' \
|
|
${WRKSRC}/configure
|
|
|
|
post-install:
|
|
.if !defined(NOPORTDOCS)
|
|
@${MKDIR} ${DOCSDIR}
|
|
@${INSTALL_DATA} ${WRKSRC}/Documentation/mednafen.html ${DOCSDIR}
|
|
.endif
|
|
@${CAT} ${PKGMESSAGE}
|
|
|
|
.include <bsd.port.post.mk>
|