mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-14 03:10:47 +00:00
60945f0277
the 32 ports that still use it. Bump PORTREVISION on their dependent ports except the ones that depend on these: audio/libogg audio/libvorbis devel/pcre ftp/curl graphics/jpeg graphics/libart_lgpl graphics/tiff textproc/expat2 textproc/libxslt In these cases the same trick as in the recent gettext update is used. The ports install a symlink with the old library version. When enough of their dependent ports have had regular updates the remaining ones can get a PORTREVISION bump and the links can be removed. Also remove the devel/pcre dependency from USE_GNOME=glib20. It causes over 2200 packages to depend on devel/pcre while less than 200 actually link with it. The glib20 package still depends on devel/pcre so this should not make a difference for ports with USE_GNOME=glib20. Also, libdata/pkgconfig/glib-2.0.pc lists pcre as a private library so USE_GNOME=glib20 should not propagate it. PR: 195724 Exp-run by: antoine Approved by: portmgr (antoine)
63 lines
1.3 KiB
Makefile
63 lines
1.3 KiB
Makefile
# Created by: Li-Lun Wang <llwang@infor.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= hugo
|
|
PORTVERSION= 2.12
|
|
PORTREVISION= 15
|
|
CATEGORIES= emulators
|
|
MASTER_SITES= http://www.zeograd.com/download/ \
|
|
http://www.sourcefiles.org/Emulators/Videogames/
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= PC Engine (TurboGrafx 16) emulator
|
|
|
|
LICENSE= BSD3CLAUSE GPLv2
|
|
LICENSE_COMB= multi
|
|
|
|
LIB_DEPENDS= libargp.so:${PORTSDIR}/devel/argp-standalone
|
|
|
|
OPTIONS_DEFINE= GTK2 DOCS NETPLAY SDL_MIXER
|
|
OPTIONS_DEFAULT=GTK2
|
|
OPTIONS_SUB= yes
|
|
NETPLAY_DESC= Netplay support
|
|
SDL_MIXER_DESC= SDL_mixer support
|
|
|
|
USES= gmake pkgconfig
|
|
USE_SDL= sdl
|
|
USE_CSTD= gnu89
|
|
GNU_CONFIGURE= yes
|
|
|
|
CFLAGS+= -Wno-return-type
|
|
CPPFLAGS+= -I${LOCALBASE}/include
|
|
LDFLAGS+= -L${LOCALBASE}/lib
|
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
.if empty(PORT_OPTIONS:MGTK2) && ${PORT_OPTIONS:MNETPLAY}
|
|
IGNORE= NETPLAY support requires GTK2 support
|
|
.endif
|
|
|
|
.if ${PORT_OPTIONS:MGTK2}
|
|
USE_GNOME= gtk20
|
|
.else
|
|
CONFIGURE_ARGS+= --disable-gui --disable-gtktest
|
|
.endif
|
|
|
|
.if ${PORT_OPTIONS:MNETPLAY}
|
|
USE_SDL+= net
|
|
.else
|
|
CONFIGURE_ENV+= ac_cv_lib_SDL_net_main=no
|
|
.endif
|
|
|
|
.if ${PORT_OPTIONS:MSDL_MIXER}
|
|
LIB_DEPENDS+= libvorbis.so:${PORTSDIR}/audio/libvorbis
|
|
USE_SDL+= mixer
|
|
CFLAGS+= -DOGG_SUPPORT
|
|
.else
|
|
CONFIGURE_ENV+= ac_cv_lib_SDL_mixer_main=no \
|
|
ac_cv_lib_vorbis_main=no \
|
|
ac_cv_lib_vorbisfile_main=no
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|