summaryrefslogtreecommitdiff
path: root/x11-toolkits
diff options
context:
space:
mode:
authorAlexey Dokuchaev <danfe@FreeBSD.org>2012-11-16 06:42:38 +0000
committerAlexey Dokuchaev <danfe@FreeBSD.org>2012-11-16 06:42:38 +0000
commit7d5bea11474a5021541f9437687eb1ffd787eea1 (patch)
tree07311db52230c96839c7f1cf6e78ac9acb2836ce /x11-toolkits
parent- drop obsolte WWW: (diff)
- Trim Makefile header per new bylaws
- Convert to the new OPTIONS framework - Remove explicit shlib versions from LIB_DEPENDS - Relinquish maintainership Feature safe: yes
Notes
Notes: svn path=/head/; revision=307473
Diffstat (limited to 'x11-toolkits')
-rw-r--r--x11-toolkits/nucleo/Makefile45
1 files changed, 21 insertions, 24 deletions
diff --git a/x11-toolkits/nucleo/Makefile b/x11-toolkits/nucleo/Makefile
index 8cf4e018f0e3..a80e2f1d55fc 100644
--- a/x11-toolkits/nucleo/Makefile
+++ b/x11-toolkits/nucleo/Makefile
@@ -1,9 +1,5 @@
-# New ports collection makefile for: The nucleo toolkit
-# Date created: 30 May 2007
-# Whom: Alexey Dokuchaev <danfe@FreeBSD.org>
-#
+# Created by: Alexey Dokuchaev <danfe@FreeBSD.org>
# $FreeBSD$
-#
PORTNAME= nucleo
PORTVERSION= 0.7.6
@@ -11,15 +7,15 @@ PORTREVISION= 5
CATEGORIES= x11-toolkits
MASTER_SITES= http://insitu.lri.fr/metisse/download/nucleo/
-MAINTAINER= danfe@FreeBSD.org
+MAINTAINER= ports@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 \
+LIB_DEPENDS= freetype:${PORTSDIR}/print/freetype2 \
+ jpeg:${PORTSDIR}/graphics/jpeg \
png15:${PORTSDIR}/graphics/png \
- exif.12:${PORTSDIR}/graphics/libexif
+ exif:${PORTSDIR}/graphics/libexif
USE_BZIP2= yes
USE_GMAKE= yes
@@ -29,11 +25,12 @@ 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
+OPTIONS_DEFINE= GNUTLS DNSSD FFMPEG QT4 GD
+
+DNSSD_DESC= DNS-SD support
+FFMPEG_DESC= FFmpeg plugin
+QT4_DESC= Qt4 plugin
+GD_DESC= GD plugin
.include <bsd.port.pre.mk>
@@ -41,31 +38,31 @@ OPTIONS= GNUTLS "Build with GnuTLS support" off \
BROKEN= Does not compile on powerpc-9
.endif
-.if defined(WITH_GNUTLS)
-LIB_DEPENDS+= gnutls.47:${PORTSDIR}/security/gnutls
+.if ${PORT_OPTIONS:MGNUTLS}
+LIB_DEPENDS+= gnutls:${PORTSDIR}/security/gnutls
.else
CONFIGURE_ARGS+= --without-gnutls
.endif
-.if defined(WITH_DNSSD)
+.if ${PORT_OPTIONS:MDNSSD}
. if exists(${LOCALBASE}/include/avahi-compat-libdns_sd/dns_sd.h)
-LIB_DEPENDS+= dns_sd.1:${PORTSDIR}/net/avahi-libdns
+LIB_DEPENDS+= dns_sd:${PORTSDIR}/net/avahi-libdns
. else
-LIB_DEPENDS+= dns_sd.1:${PORTSDIR}/net/mDNSResponder
+LIB_DEPENDS+= dns_sd:${PORTSDIR}/net/mDNSResponder
. endif
.else
CONFIGURE_ARGS+= --without-dns-sd
.endif
-.if defined(WITH_FFMPEG)
-LIB_DEPENDS+= avformat.1:${PORTSDIR}/multimedia/ffmpeg
+.if ${PORT_OPTIONS:MFFMPEG}
+LIB_DEPENDS+= avformat:${PORTSDIR}/multimedia/ffmpeg
PLIST_SUB+= FFMPEG=""
.else
CONFIGURE_ARGS+= --without-ffmpeg
PLIST_SUB+= FFMPEG="@comment "
.endif
-.if defined(WITH_QT4)
+.if ${PORT_OPTIONS:MQT4}
USE_QT4= moc_build corelib
MAKE_ARGS+= QT4MOC=${LOCALBASE}/bin/moc-qt4
PLIST_SUB+= QT4=""
@@ -74,8 +71,8 @@ CONFIGURE_ARGS+= --without-qt
PLIST_SUB+= QT4="@comment "
.endif
-.if defined(WITH_GD)
-LIB_DEPENDS+= gd.4:${PORTSDIR}/graphics/gd
+.if ${PORT_OPTIONS:MGD}
+LIB_DEPENDS+= gd:${PORTSDIR}/graphics/gd
PLIST_SUB+= GD=""
.else
CONFIGURE_ARGS+= --without-gd