1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-17 08:01:36 +00:00
freebsd-ports/multimedia/gmtk/Makefile
Niclas Zeising 82f108df30 Add USES=xorg USES=gl, ports categories m
Add USES=xorg and USES=gl to ports in categories starting with 'm'
While here, try to sprinkle other USES (mostly gnome and sdl) as needed.
2019-11-06 18:07:22 +00:00

51 lines
1.2 KiB
Makefile

# $FreeBSD$
PORTNAME= gmtk
PORTVERSION= 1.0.9
PORTREVISION= 1
CATEGORIES= multimedia gnome devel
MASTER_SITES= https://pkgs.rpmfusion.org/repo/pkgs/free/gmtk/gmtk-1.0.9.tar.gz/9184658014ca7b325b569ac7417e4860/
MAINTAINER= ports@FreeBSD.org
COMMENT= Library for gnome-mplayer and gecko-mediaplayer
LICENSE= GPLv2
BUILD_DEPENDS= p5-XML-Parser>0:textproc/p5-XML-Parser
USES= gettext gmake gnome libtool pathfix perl5 pkgconfig xorg
USE_XORG= x11
USE_GNOME= glib20 intltool
USE_PERL5= build
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --disable-gconf
INSTALL_TARGET= install-strip
USE_LDCONFIG= yes
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
OPTIONS_DEFINE= ALSA DOCS GIO GTK3 PULSEAUDIO
ALSA_LIB_DEPENDS= libasound.so:audio/alsa-lib
ALSA_CONFIGURE_WITH= alsa
GIO_DESC= Use GIO for file I/O
GIO_CONFIGURE_WITH= gio
GTK3_USE= gnome=gtk30
GTK3_CONFIGURE_ENABLE= gtk3
PULSEAUDIO_LIB_DEPENDS= libpulse.so:audio/pulseaudio
PULSEAUDIO_CONFIGURE_WITH= pulseaudio
.include <bsd.port.options.mk>
.if !${PORT_OPTIONS:MGTK3}
USE_GNOME+= gtk20
.endif
post-patch:
@${REINPLACE_CMD} -e \
'/COPYING\\/d ; \
/INSTALL\\/d' ${WRKSRC}/Makefile.in
.include <bsd.port.mk>