Commit 1d5dc71e authored by cvs2svn's avatar cvs2svn
Browse files

This commit was manufactured by cvs2svn to create tag 'RELEASE_8_3_0'.

parent 70e31882
# New ports collection makefile for: libmusicbrainz3
# Date Created: 2007-05-17
# Whom: Jason E. Hale <bsdkaffee@gmail.com>
#
# $FreeBSD$
#
PORTNAME= libmusicbrainz4
PORTVERSION= 4.0.0
CATEGORIES= audio
MASTER_SITES= ftp://ftp.musicbrainz.org/pub/musicbrainz/ \
http://uk.musicbrainz.org/pub/musicbrainz/ \
http://ftp.osuosl.org/pub/musicbrainz/
DISTNAME= ${PORTNAME:S/4//}-${PORTVERSION}
MAINTAINER= bsdkaffee@gmail.com
COMMENT= MusicBrainz client library for audio metadata lookup
LICENSE= LGPL21
LICENSE_FILE= ${WRKSRC}/COPYING.txt
LIB_DEPENDS= neon.27:${PORTSDIR}/www/neon29
USE_CMAKE= yes
USE_GNOME= pkgconfig
USE_LDCONFIG= yes
MAKE_JOBS_SAFE= yes
post-patch:
${REINPLACE_CMD} -e '/pkgconfig/s|$${LIB_INSTALL_DIR}|libdata|' \
${WRKSRC}/CMakeLists.txt
.include <bsd.port.mk>
SHA256 (libmusicbrainz-4.0.0.tar.gz) = 30b139f51ee8c5bbe8803bdd6b24747276825f3cff7648ac72fba3c9d8f2e94a
SIZE (libmusicbrainz-4.0.0.tar.gz) = 126597
libmusicbrainz is a client library for accessing the MusicBrainz database
allowing metadata lookup for audio files. This is version 4.x which supports
version 2 of the XML Web Service.
WWW: http://musicbrainz.org/
include/musicbrainz4/Alias.h
include/musicbrainz4/AliasList.h
include/musicbrainz4/Annotation.h
include/musicbrainz4/AnnotationList.h
include/musicbrainz4/Artist.h
include/musicbrainz4/ArtistCredit.h
include/musicbrainz4/ArtistList.h
include/musicbrainz4/Attribute.h
include/musicbrainz4/AttributeList.h
include/musicbrainz4/CDStub.h
include/musicbrainz4/CDStubList.h
include/musicbrainz4/Collection.h
include/musicbrainz4/CollectionList.h
include/musicbrainz4/Disc.h
include/musicbrainz4/DiscList.h
include/musicbrainz4/Entity.h
include/musicbrainz4/FreeDBDisc.h
include/musicbrainz4/FreeDBDiscList.h
include/musicbrainz4/HTTPFetch.h
include/musicbrainz4/ISRC.h
include/musicbrainz4/ISRCList.h
include/musicbrainz4/Label.h
include/musicbrainz4/LabelInfo.h
include/musicbrainz4/LabelInfoList.h
include/musicbrainz4/LabelList.h
include/musicbrainz4/Lifespan.h
include/musicbrainz4/List.h
include/musicbrainz4/ListImpl.h
include/musicbrainz4/Medium.h
include/musicbrainz4/MediumList.h
include/musicbrainz4/Message.h
include/musicbrainz4/Metadata.h
include/musicbrainz4/NameCredit.h
include/musicbrainz4/NameCreditList.h
include/musicbrainz4/NonMBTrack.h
include/musicbrainz4/NonMBTrackList.h
include/musicbrainz4/PUID.h
include/musicbrainz4/PUIDList.h
include/musicbrainz4/Query.h
include/musicbrainz4/Rating.h
include/musicbrainz4/Recording.h
include/musicbrainz4/RecordingList.h
include/musicbrainz4/Relation.h
include/musicbrainz4/RelationList.h
include/musicbrainz4/Release.h
include/musicbrainz4/ReleaseGroup.h
include/musicbrainz4/ReleaseGroupList.h
include/musicbrainz4/ReleaseList.h
include/musicbrainz4/Tag.h
include/musicbrainz4/TagList.h
include/musicbrainz4/TextRepresentation.h
include/musicbrainz4/Track.h
include/musicbrainz4/TrackList.h
include/musicbrainz4/UserRating.h
include/musicbrainz4/UserTag.h
include/musicbrainz4/UserTagList.h
include/musicbrainz4/Work.h
include/musicbrainz4/WorkList.h
include/musicbrainz4/mb4_c.h
include/musicbrainz4/xmlParser.h
lib/libmusicbrainz4.so
lib/libmusicbrainz4.so.3
lib/libmusicbrainz4.so.3.0.0
libdata/pkgconfig/libmusicbrainz4.pc
@dirrm include/musicbrainz4
# New ports collection makefile for: koffice-kde4-l10n-zh_CN
# Date created: 28 November 2009
# Whom: Dima Panov <fluffy@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= koffice-l10n
PORTVERSION= ${KOFFICE2_VERSION}
CATEGORIES?= chinese editors kde
MAINTAINER= kde@FreeBSD.org
COMMENT= Simplified Chinese messages and documentation for KOffice2
KOFFICE2_L10N= zh_CN
.include "${.CURDIR}/../../editors/koffice-kde4-l10n/files/bsd.l10n.mk"
.include <bsd.port.mk>
SHA256 (KDE/koffice-l10n/koffice-l10n-zh_CN-2.3.2.tar.bz2) = f138f8ae823ae437d4fdac4fe72558370c28a8741668f09f82de96cfafc30be2
SIZE (KDE/koffice-l10n/koffice-l10n-zh_CN-2.3.2.tar.bz2) = 292546
Localized messages and documentation for koffice.
WWW: http://koffice.kde.org/
share/locale/zh_CN/LC_MESSAGES/ArtisticTextShape.mo
share/locale/zh_CN/LC_MESSAGES/AutocorrectPlugin.mo
share/locale/zh_CN/LC_MESSAGES/CalendarTool.mo
share/locale/zh_CN/LC_MESSAGES/ChangecasePlugin.mo
share/locale/zh_CN/LC_MESSAGES/ChartShape.mo
share/locale/zh_CN/LC_MESSAGES/DivineProportion.mo
share/locale/zh_CN/LC_MESSAGES/FormulaShape.mo
share/locale/zh_CN/LC_MESSAGES/KarbonTools.mo
share/locale/zh_CN/LC_MESSAGES/KexiRelationDesignShapePlugin.mo
share/locale/zh_CN/LC_MESSAGES/MusicShape.mo
share/locale/zh_CN/LC_MESSAGES/ParagraphTool.mo
share/locale/zh_CN/LC_MESSAGES/PathShapes.mo
share/locale/zh_CN/LC_MESSAGES/PictureShape.mo
share/locale/zh_CN/LC_MESSAGES/PluginShape.mo
share/locale/zh_CN/LC_MESSAGES/ShapePlugin.mo
share/locale/zh_CN/LC_MESSAGES/SpellCheckPlugin.mo
share/locale/zh_CN/LC_MESSAGES/TableShape.mo
share/locale/zh_CN/LC_MESSAGES/TextShape.mo
share/locale/zh_CN/LC_MESSAGES/VariablesPlugin.mo
share/locale/zh_CN/LC_MESSAGES/VideoShape.mo
share/locale/zh_CN/LC_MESSAGES/desktop_koffice.mo
share/locale/zh_CN/LC_MESSAGES/karbon.mo
share/locale/zh_CN/LC_MESSAGES/kchart.mo
share/locale/zh_CN/LC_MESSAGES/kexi.mo
share/locale/zh_CN/LC_MESSAGES/kformula.mo
share/locale/zh_CN/LC_MESSAGES/kocolorspaces.mo
share/locale/zh_CN/LC_MESSAGES/koconverter.mo
share/locale/zh_CN/LC_MESSAGES/koffice-defaulttools.mo
share/locale/zh_CN/LC_MESSAGES/koffice-dockers.mo
share/locale/zh_CN/LC_MESSAGES/koffice-simpletextedit.mo
share/locale/zh_CN/LC_MESSAGES/koffice.mo
share/locale/zh_CN/LC_MESSAGES/kofficefilters.mo
share/locale/zh_CN/LC_MESSAGES/koproperty.mo
share/locale/zh_CN/LC_MESSAGES/kounavail.mo
share/locale/zh_CN/LC_MESSAGES/kplato.mo
share/locale/zh_CN/LC_MESSAGES/kplatolibs.mo
share/locale/zh_CN/LC_MESSAGES/kplatorcpsplugin.mo
share/locale/zh_CN/LC_MESSAGES/kplatowork.mo
share/locale/zh_CN/LC_MESSAGES/kpresenter.mo
share/locale/zh_CN/LC_MESSAGES/krita.mo
share/locale/zh_CN/LC_MESSAGES/krossmodulekplato.mo
share/locale/zh_CN/LC_MESSAGES/krossmodulekspread.mo
share/locale/zh_CN/LC_MESSAGES/krossmodulekword.mo
share/locale/zh_CN/LC_MESSAGES/kscan_plugin.mo
share/locale/zh_CN/LC_MESSAGES/kspread.mo
share/locale/zh_CN/LC_MESSAGES/kspreadsolver.mo
share/locale/zh_CN/LC_MESSAGES/kthesaurus.mo
share/locale/zh_CN/LC_MESSAGES/kword.mo
share/locale/zh_CN/LC_MESSAGES/thesaurus_tool.mo
# New ports collection makefile for: koffice-kde4-l10n-zh_TW
# Date created: 28 November 2009
# Whom: Dima Panov <fluffy@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= koffice-l10n
PORTVERSION= ${KOFFICE2_VERSION}
CATEGORIES?= chinese editors kde
MAINTAINER= kde@FreeBSD.org
COMMENT= Traditional Chinese messages and documentation for KOffice2
KOFFICE2_L10N= zh_TW
.include "${.CURDIR}/../../editors/koffice-kde4-l10n/files/bsd.l10n.mk"
.include <bsd.port.mk>
SHA256 (KDE/koffice-l10n/koffice-l10n-zh_TW-2.3.2.tar.bz2) = b72276fd2fc9bebcce8f741bbe7da1c9bc70980ea3608a87898ad5aeb73d1be2
SIZE (KDE/koffice-l10n/koffice-l10n-zh_TW-2.3.2.tar.bz2) = 334294
Localized messages and documentation for koffice.
WWW: http://koffice.kde.org/
share/locale/zh_TW/LC_MESSAGES/ArtisticTextShape.mo
share/locale/zh_TW/LC_MESSAGES/AutocorrectPlugin.mo
share/locale/zh_TW/LC_MESSAGES/BarcodePlugin.mo
share/locale/zh_TW/LC_MESSAGES/CalendarTool.mo
share/locale/zh_TW/LC_MESSAGES/ChangecasePlugin.mo
share/locale/zh_TW/LC_MESSAGES/ChartPlugin.mo
share/locale/zh_TW/LC_MESSAGES/ChartShape.mo
share/locale/zh_TW/LC_MESSAGES/CommentShape.mo
share/locale/zh_TW/LC_MESSAGES/DivineProportion.mo
share/locale/zh_TW/LC_MESSAGES/FormulaShape.mo
share/locale/zh_TW/LC_MESSAGES/KarbonTools.mo
share/locale/zh_TW/LC_MESSAGES/KexiRelationDesignShapePlugin.mo
share/locale/zh_TW/LC_MESSAGES/MusicShape.mo
share/locale/zh_TW/LC_MESSAGES/ParagraphTool.mo
share/locale/zh_TW/LC_MESSAGES/PathShapes.mo
share/locale/zh_TW/LC_MESSAGES/PictureShape.mo
share/locale/zh_TW/LC_MESSAGES/PluginShape.mo
share/locale/zh_TW/LC_MESSAGES/ShapePlugin.mo
share/locale/zh_TW/LC_MESSAGES/SpellCheckPlugin.mo
share/locale/zh_TW/LC_MESSAGES/TableShape.mo
share/locale/zh_TW/LC_MESSAGES/TextShape.mo
share/locale/zh_TW/LC_MESSAGES/VariablesPlugin.mo
share/locale/zh_TW/LC_MESSAGES/VideoShape.mo
share/locale/zh_TW/LC_MESSAGES/desktop_koffice.mo
share/locale/zh_TW/LC_MESSAGES/karbon.mo
share/locale/zh_TW/LC_MESSAGES/kchart.mo
share/locale/zh_TW/LC_MESSAGES/kexi.mo
share/locale/zh_TW/LC_MESSAGES/kformula.mo
share/locale/zh_TW/LC_MESSAGES/kocolorspaces.mo
share/locale/zh_TW/LC_MESSAGES/koconverter.mo
share/locale/zh_TW/LC_MESSAGES/koffice-defaulttools.mo
share/locale/zh_TW/LC_MESSAGES/koffice-dockers.mo
share/locale/zh_TW/LC_MESSAGES/koffice-simpletextedit.mo
share/locale/zh_TW/LC_MESSAGES/koffice.mo
share/locale/zh_TW/LC_MESSAGES/kofficefilters.mo
share/locale/zh_TW/LC_MESSAGES/koproperty.mo
share/locale/zh_TW/LC_MESSAGES/kounavail.mo
share/locale/zh_TW/LC_MESSAGES/kplato.mo
share/locale/zh_TW/LC_MESSAGES/kplatolibs.mo
share/locale/zh_TW/LC_MESSAGES/kplatorcpsplugin.mo
share/locale/zh_TW/LC_MESSAGES/kplatowork.mo
share/locale/zh_TW/LC_MESSAGES/kpresenter.mo
share/locale/zh_TW/LC_MESSAGES/krita.mo
share/locale/zh_TW/LC_MESSAGES/krossmodulekplato.mo
share/locale/zh_TW/LC_MESSAGES/krossmodulekspread.mo
share/locale/zh_TW/LC_MESSAGES/krossmodulekword.mo
share/locale/zh_TW/LC_MESSAGES/kscan_plugin.mo
share/locale/zh_TW/LC_MESSAGES/kspread.mo
share/locale/zh_TW/LC_MESSAGES/kspreadsolver.mo
share/locale/zh_TW/LC_MESSAGES/kthesaurus.mo
share/locale/zh_TW/LC_MESSAGES/kword.mo
share/locale/zh_TW/LC_MESSAGES/thesaurus_tool.mo
# New ports collection makefile for: PostgreSQL Pgaccess
# Date created: December 1st, 2002
# Whom: Palle Girgensohn <girgen@pingpong.net>
#
# $FreeBSD$
#
PORTNAME= libpqxx
PORTVERSION= 3.0.2
CATEGORIES= databases
MASTER_SITES= http://pqxx.org/download/software/libpqxx/
PKGNAMEPREFIX= postgresql-
DIST_SUBDIR= postgresql
MAINTAINER= 20080111.freebsd.org@ab.ote.we.lv
COMMENT= A new C++ interface for PostgreSQL
CONFLICTS= postgresql-libpqxx-2.*
LATEST_LINK= ${PKGNAMEPREFIX}${PORTNAME}30
USE_PGSQL= yes
USE_GMAKE= yes
GNU_CONFIGURE= yes
USE_LDCONFIG= yes
PLIST_SUB= SHLIBVERSION=3.0
CONFIGURE_ARGS= --enable-shared
.include <bsd.port.mk>
SHA256 (postgresql/libpqxx-3.0.2.tar.gz) = de265ab5d397ace7596c3b6d19a0057ce2ba58477315acf9165b0a97facab6ca
SIZE (postgresql/libpqxx-3.0.2.tar.gz) = 1565644
--- Makefile.in 2009-08-14 10:16:35.000000000 -0700
+++ Makefile.in.new 2010-01-13 23:09:39.000000000 -0800
@@ -226,7 +226,7 @@
MAINTAINERCLEANFILES = Makefile.in aclocal.m4 config.h.in config.log configure \
stamp-h.in
-pkgconfigdir = $(libdir)/pkgconfig
+pkgconfigdir = $(prefix)/libdata/pkgconfig
pkgconfig_DATA = libpqxx.pc
bin_SCRIPTS = pqxx-config
all: all-recursive
diff -urN libpqxx-3.0.2.dist/libpqxx.spec.in libpqxx-3.0.2/libpqxx.spec.in
--- libpqxx.spec.in 2009-07-03 22:38:38.000000000 -0700
+++ libpqxx.spec.in.new 2010-01-13 21:24:41.000000000 -0800
@@ -58,7 +58,7 @@
%files devel
%defattr(-, root, root)
%{_libdir}/*a
-%{_libdir}/pkgconfig/libpqxx.pc
+%{_prefix}/libdata/pkgconfig/libpqxx.pc
%{_includedir}/*
%{_bindir}/pqxx-config
Welcome to libpqxx, the official C++ API to the PostgreSQL database
management system.
There are many similar libraries for PostgreSQL and for other
databases, some of them database-independent. Most of these, however,
are fairly C-like in their programming style, and fail to take
advantage of the full power of the C++ language as it has matured
since the acceptance of the Standard in 1996. What libpqxx brings you
is effective use of templates to reduce the inconvenience of dealing
with type conversions; of standard C++ strings to keep you from having
to worry about buffer allocation and overflow attacks; of exceptions
to take the tedious and error-prone plumbing around error handling out
of your hands; of constructors and destructors to bring resource
management under control; and even basic object-orientation to give
you some extra reliability features that would be hard to get with
most other database interfaces.
WWW: http://pqxx.org/
bin/pqxx-config
include/pqxx/basic_connection
include/pqxx/basic_connection.hxx
include/pqxx/binarystring
include/pqxx/binarystring.hxx
include/pqxx/compiler-internal-post.hxx
include/pqxx/compiler-internal-pre.hxx
include/pqxx/compiler-public.hxx
include/pqxx/config-public-compiler.h
include/pqxx/connection
include/pqxx/connection.hxx
include/pqxx/connection_base
include/pqxx/connection_base.hxx
include/pqxx/connectionpolicy
include/pqxx/connectionpolicy.hxx
include/pqxx/cursor
include/pqxx/cursor.hxx
include/pqxx/dbtransaction
include/pqxx/dbtransaction.hxx
include/pqxx/except
include/pqxx/except.hxx
include/pqxx/isolation
include/pqxx/isolation.hxx
include/pqxx/largeobject
include/pqxx/largeobject.hxx
include/pqxx/libpq-forward.hxx
include/pqxx/nontransaction
include/pqxx/nontransaction.hxx
include/pqxx/notify-listen
include/pqxx/notify-listen.hxx
include/pqxx/pipeline
include/pqxx/pipeline.hxx
include/pqxx/pqxx
include/pqxx/prepared_statement
include/pqxx/prepared_statement.hxx
include/pqxx/result
include/pqxx/result.hxx
include/pqxx/robusttransaction
include/pqxx/robusttransaction.hxx
include/pqxx/subtransaction
include/pqxx/subtransaction.hxx
include/pqxx/tablereader
include/pqxx/tablereader.hxx
include/pqxx/tablestream
include/pqxx/tablestream.hxx
include/pqxx/tablewriter
include/pqxx/tablewriter.hxx
include/pqxx/transaction
include/pqxx/transaction.hxx
include/pqxx/transaction_base
include/pqxx/transaction_base.hxx
include/pqxx/transactor
include/pqxx/transactor.hxx
include/pqxx/trigger
include/pqxx/trigger.hxx
include/pqxx/util
include/pqxx/util.hxx
include/pqxx/version.hxx
lib/libpqxx-%%SHLIBVERSION%%.so
lib/libpqxx.a
lib/libpqxx.la
lib/libpqxx.so
libdata/pkgconfig/libpqxx.pc
@dirrm include/pqxx
# New ports collection makefile for: PostgreSQL
# Date created: November 13, 1998
# Whom: Marc G. Fournier <scrappy@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME?= postgresql
DISTVERSION?= 9.1.3
CATEGORIES?= databases
MASTER_SITES= ${MASTER_SITE_PGSQL}
MASTER_SITE_SUBDIR= source/v${DISTVERSION}
PKGNAMESUFFIX?= -server
MAINTAINER?= pgsql@FreeBSD.org
COMMENT?= The most advanced open-source database available anywhere
CONFLICTS?= ${PORTNAME}-client-[^${PORTVERSION:R:R}].* \
${PORTNAME}${PKGNAMESUFFIX}-[^${PORTVERSION:R:R}].* \
${PORTNAME}-client-9.[^${PORTVERSION:R:E}].* \
${PORTNAME}${PKGNAMESUFFIX}-9.[^${PORTVERSION:R:E}].*
WRKSRC= ${WRKDIR}/postgresql-${DISTVERSION}
DIST_SUBDIR= postgresql
ICU_PATCHFILE?= pg-910-icu-2011-09-22.diff.gz
.if !defined(SLAVE_ONLY)
UNIQUENAME?= ${PORTNAME}${DISTVERSION:R:S/.//}
LATEST_LINK?= ${PKGNAMEPREFIX}${UNIQUENAME}${PKGNAMESUFFIX}
.else # Contrib has different options from -client/-server
UNIQUENAME?= ${PORTNAME}${DISTVERSION:R:S/.//}${PKGNAMESUFFIX}
LATEST_LINK?= ${PKGNAMEPREFIX}${UNIQUENAME}
.endif
PKGINSTALL?= ${PKGDIR}/pkg-install${PKGNAMESUFFIX}
USE_BZIP2= yes
USE_GMAKE= yes
GNU_CONFIGURE= yes
.if defined(NO_BUILD)
.undef USE_GMAKE
.undef GNU_CONFIGURE
.endif
PG_USER?= pgsql
PG_GROUP?= ${PG_USER}
PG_UID?= 70
LDFLAGS+= -L${LOCALBASE}/lib
INCLUDES+= -I${LOCALBASE}/include
CONFIGURE_ARGS+=--with-libraries=${PREFIX}/lib \
--with-includes=${PREFIX}/include \
--enable-thread-safety
CONFIGURE_ENV+= INCLUDES="${INCLUDES}" \
PTHREAD_CFLAGS="${PTHREAD_CFLAGS}" \
PTHREAD_LIBS="${PTHREAD_LIBS}" \
LDFLAGS_SL="${LDFLAGS_SL}"
PLIST= ${PKGDIR}/pkg-plist${PKGNAMESUFFIX}
INSTALL_DIRS?= src/timezone src/backend \
src/backend/utils/mb/conversion_procs \
src/backend/snowball src/backend/replication/libpqwalreceiver \
src/bin/initdb src/bin/pg_ctl \
src/bin/pg_controldata src/bin/pg_resetxlog src/pl \
src/bin/pg_basebackup
BUILD_DIRS?= src/port ${INSTALL_DIRS}
.if !defined(CLIENT_ONLY) && !defined(SLAVE_ONLY)
SERVER_ONLY= yes
USE_RC_SUBR= postgresql
USE_PGSQL= yes
WANT_PGSQL_VER= ${DISTVERSION:C/([0-9][0-9]*)\.([0-9][0-9]*).*/\1\2/g}
USERS?= ${PG_USER}
.if (${USERS} != "pgsql")
UID_FILES+= ${WRKDIR}/pguid
GID_FILES+= ${WRKDIR}/pggid
.endif
GROUPS?= ${PG_GROUP}
SUB_FILES+= 502.pgsql
.endif
.if !defined(CLIENT_ONLY)
MAKE_ENV= PATH=${PREFIX}/bin:${PATH}
CONFIGURE_ENV+= PATH=${PREFIX}/bin:${PATH}
.endif
.if !defined(SLAVE_ONLY)
OPTIONS+= NLS "Use internationalized messages" on
OPTIONS+= DTRACE "Build with DTrace probes (server only)" off
OPTIONS+= PAM "Build with PAM support (server only)" off
OPTIONS+= LDAP "Build with LDAP authentication support" off
OPTIONS+= MIT_KRB5 "Build with MIT's kerberos support" off
OPTIONS+= HEIMDAL_KRB5 "Builds with Heimdal kerberos support" off
OPTIONS+= GSSAPI "Build with GSSAPI support" off
OPTIONS+= OPTIMIZED_CFLAGS "Builds with compiler optimizations (-O3)" off
OPTIONS+= XML "Build with XML data type (server)" on
OPTIONS+= TZDATA "Use internal timezone database (server)" on
OPTIONS+= DEBUG "Builds with debugging symbols" off
# See http://people.freebsd.org/~girgen/postgresql-icu/README.html for more info
OPTIONS+= ICU "Use ICU for unicode collation (server)" off
# See http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/76999 for more info
# (requires dump/restore if modified.)
OPTIONS+= INTDATE "Builds with 64-bit date/time type (server)" on
OPTIONS+= SSL "Build with OpenSSL support" on
.endif # !SLAVE_ONLY
.include <bsd.port.options.mk>
.if !defined(WITHOUT_SSL)
USE_OPENSSL= yes
CONFIGURE_ARGS+=--with-openssl
.endif
.if !defined(SLAVE_ONLY)
. if (defined(SERVER_ONLY) && defined(WITH_ICU)) || make(makesum)
USE_AUTOTOOLS= autoconf
CONFIGURE_ARGS+=--with-icu
PATCH_SITES+= http://people.freebsd.org/~crees/patches/postgresql-icu/:icu
PATCHFILES+= ${ICU_PATCHFILE}:icu
. if defined(ICU_EXTRAPATCH)
EXTRA_PATCHES+= ${ICU_EXTRAPATCH}
. endif
LIB_DEPENDS+= icudata.48:${PORTSDIR}/devel/icu
. endif
.endif # !SLAVE_ONLY
.if defined(WITH_OSSP_UUID)
BUILD_DEPENDS+= ${LOCALBASE}/lib/libuuid.a:${PORTSDIR}/misc/ossp-uuid
CONFIGURE_ARGS+=--with-ossp-uuid
PLIST_SUB+= OSSP=""
.else
PLIST_SUB+= OSSP="@comment "
.endif
.include <bsd.port.pre.mk>
.if !defined(SLAVE_ONLY)
PATCH_DIST_STRIP=-p1
. if defined(WITH_DTRACE)
CONFIGURE_ARGS+=--enable-dtrace
LDFLAGS+=-lelf
. if ${OSVERSION} < 900021
IGNORE= need userland DTrace support found in FreeBSD 9.0
. endif
. endif
. if defined(WITH_PAM)
CONFIGURE_ARGS+=--with-pam
. endif
. if defined(WITH_LDAP)
CONFIGURE_ARGS+=--with-ldap
. if defined (SERVER_ONLY)
USE_OPENLDAP= yes
. endif
. endif
. if defined(WITH_XML)
CONFIGURE_ARGS+=--with-libxml
LIB_DEPENDS+= xml2.5:${PORTSDIR}/textproc/libxml2
. endif
. if defined(WITH_TZDATA)
PLIST_SUB+= TZDATA=""
. else
CONFIGURE_ARGS+=--with-system-tzdata=/usr/share/zoneinfo
PLIST_SUB+= TZDATA="@comment "
. endif
. if defined(WITHOUT_INTDATE)
CONFIGURE_ARGS+=--disable-integer-datetimes
. endif
. if !(defined(WITHOUT_GETTEXT) || defined(WITHOUT_NLS))
CONFIGURE_ARGS+=--enable-nls
PLIST_SUB+= GETTEXT=""
USE_GETTEXT= yes
. else
CONFIGURE_ARGS+=--disable-nls
PLIST_SUB+= GETTEXT="@comment "
. endif
. if defined(WITH_OPTIMIZED_CFLAGS)
CFLAGS+= -O3 -funroll-loops
. endif
. if defined(WITH_DEBUG)
CONFIGURE_ARGS+=--enable-debug
INSTALL_TARGET= install
. else
INSTALL_TARGET= install-strip
. endif
.if !defined(WITHOUT_GSSAPI)
CONFIGURE_ARGS+=--with-gssapi
.if !defined(WITH_MIT_KRB5) && !defined(WITH_HEIMDAL_KRB5)
# Kerberos libraries will pull the proper GSSAPI library
# via linker dependencies, but otherwise we must specify
# it explicitely: ld --as-needed is used for compilation,
# so configure's -lgssapi_krb5 won't go.
LDFLAGS+= -lgssapi
LDFLAGS_SL+= -lgssapi