mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-24 04:33:24 +00:00
0d2725682b
structure (i.e. include/SDL for includes and sdl-config for configuration binary) - Update graphics/sdl_ttf to version 2.0.8 - Update graphics/sdl_image to version 1.2.5 - Update audio/sdl_mixer to version 1.2.7 - Update net/sdl_net to version 1.2.6 - Update Mk/bsd.sdl.mk accordingly - Fix dependent ports to fit the new directory structure and avoid several API breakages - Bump up portrevisions for all dependent ports to allow them to be upgraded by portupgrade/portmaster etc tools Approved by: kris (portmgr), sem (mentor)
70 lines
1.4 KiB
Makefile
70 lines
1.4 KiB
Makefile
# New ports collection makefile for: Hu-Go!
|
|
# Date created: 18 May 2006
|
|
# Whom: Li-Lun Wang <llwang@infor.org>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= hugo
|
|
PORTVERSION= 2.12
|
|
PORTREVISION= 1
|
|
CATEGORIES= emulators
|
|
MASTER_SITES= http://www.zeograd.com/download/
|
|
|
|
MAINTAINER= llwang@infor.org
|
|
COMMENT= A PC Engine (TurboGrafx 16) emulator
|
|
|
|
BUILD_DEPENDS= ${LOCALBASE}/include/argp.h:${PORTSDIR}/devel/argp-standalone
|
|
|
|
GNU_CONFIGURE= yes
|
|
USE_GMAKE= yes
|
|
USE_SDL= sdl
|
|
LDFLAGS+= -L${LOCALBASE}/lib
|
|
CONFIGURE_ENV+= SDL_CONFIG="${SDL_CONFIG}" LDFLAGS="${LDFLAGS}"
|
|
|
|
.if !defined(WITHOUT_NETPLAY)
|
|
USE_SDL+= net
|
|
.else
|
|
CONFIGURE_ARGS+= --enable-netplay=no
|
|
.endif
|
|
|
|
.if defined(WITHOUT_GUI)
|
|
CONFIGURE_ARGS+= --enable-gui=no --disable-gtktest
|
|
.else
|
|
USE_GNOME= gtk20
|
|
.endif
|
|
|
|
.if defined(WITH_OGG_SUPPORT)
|
|
LIB_DEPENDS+= vorbis.3:${PORTSDIR}/audio/libvorbis
|
|
WITH_SDL_MIXER= yes
|
|
CONFIGURE_ARGS+= --with-ogg-support
|
|
.endif
|
|
|
|
.if defined(WITH_SDL_MIXER)
|
|
USE_SDL+= mixer
|
|
CONFIGURE_ARGS+= --with-sdl-mixer
|
|
.endif
|
|
|
|
MAKE_ENV+= DOCSDIR="${DOCSDIR}"
|
|
|
|
.if defined(NOPORTDOCS)
|
|
MAKE_ENV+= PORTDOCS=false
|
|
.else
|
|
MAKE_ENV+= PORTDOCS=true
|
|
.endif
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e 's|sdl-config|${SDL_CONFIG}|' ${WRKSRC}/configure
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if ${OSVERSION} < 500041
|
|
LIB_DEPENDS+= gnugetopt.1:${PORTSDIR}/devel/libgnugetopt
|
|
.endif
|
|
|
|
.if ${ARCH} != "i386"
|
|
BROKEN= fails to install
|
|
.endif
|
|
|
|
.include <bsd.port.post.mk>
|