1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-06 01:57:40 +00:00
freebsd-ports/x11-toolkits/nucleo/Makefile
Martin Wilke 9c2f65e395 - Convert USE_QT_VER=4 and QT_COMPONETS to USE_QT4
Review by:	bapt, David Naylor (kde team)
2012-06-06 06:44:37 +00:00

86 lines
1.9 KiB
Makefile

# New ports collection makefile for: The nucleo toolkit
# Date created: 30 May 2007
# Whom: Alexey Dokuchaev <danfe@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= nucleo
PORTVERSION= 0.7.6
PORTREVISION= 5
CATEGORIES= x11-toolkits
MASTER_SITES= http://insitu.lri.fr/metisse/download/nucleo/
MAINTAINER= danfe@FreeBSD.org
COMMENT= Toolkit to explore video and human-computer interaction
LICENSE= LGPL21
LIB_DEPENDS= freetype.9:${PORTSDIR}/print/freetype2 \
jpeg.11:${PORTSDIR}/graphics/jpeg \
png15:${PORTSDIR}/graphics/png \
exif.12:${PORTSDIR}/graphics/libexif
USE_BZIP2= yes
USE_GMAKE= yes
USE_GL= glu
GNU_CONFIGURE= yes
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
USE_LDCONFIG= yes
OPTIONS= GNUTLS "Build with GnuTLS support" off \
DNSSD "Build with DNS-SD support" off \
FFMPEG "Enable FFmpeg plugin" off \
QT4 "Enable Qt4 plugin" off \
GD "Enable GD plugin" off
.include <bsd.port.pre.mk>
.if ${ARCH} == "powerpc" && ${OSVERSION} > 900000
BROKEN= Does not compile on powerpc-9
.endif
.if defined(WITH_GNUTLS)
LIB_DEPENDS+= gnutls.47:${PORTSDIR}/security/gnutls
.else
CONFIGURE_ARGS+= --without-gnutls
.endif
.if defined(WITH_DNSSD)
. if exists(${LOCALBASE}/include/avahi-compat-libdns_sd/dns_sd.h)
LIB_DEPENDS+= dns_sd.1:${PORTSDIR}/net/avahi-libdns
. else
LIB_DEPENDS+= dns_sd.1:${PORTSDIR}/net/mDNSResponder
. endif
.else
CONFIGURE_ARGS+= --without-dns-sd
.endif
.if defined(WITH_FFMPEG)
LIB_DEPENDS+= avformat.1:${PORTSDIR}/multimedia/ffmpeg
PLIST_SUB+= FFMPEG=""
.else
CONFIGURE_ARGS+= --without-ffmpeg
PLIST_SUB+= FFMPEG="@comment "
.endif
.if defined(WITH_QT4)
USE_QT4= moc_build corelib
MAKE_ARGS+= QT4MOC=${LOCALBASE}/bin/moc-qt4
PLIST_SUB+= QT4=""
.else
CONFIGURE_ARGS+= --without-qt
PLIST_SUB+= QT4="@comment "
.endif
.if defined(WITH_GD)
LIB_DEPENDS+= gd.4:${PORTSDIR}/graphics/gd
PLIST_SUB+= GD=""
.else
CONFIGURE_ARGS+= --without-gd
PLIST_SUB+= GD="@comment "
.endif
.include <bsd.port.post.mk>