1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-22 04:17:44 +00:00
freebsd-ports/devel/pwlib/Makefile
Tijl Coosemans 37f54e0f66 net/openldap24-*:
- Convert to USES=libtool and bump dependent ports
- Avoid USE_AUTOTOOLS
- Don't use PTHREAD_LIBS
- Use MAKE_CMD

databases/glom:
- Drop :keepla
- Add INSTALL_TARGET=install-strip

databases/libgda4* databases/libgda5*:
- Convert to USES=libtool and bump dependent ports
- USES=tar:xz
- Use INSTALL_TARGET=install-strip
- Use @sample

databases/libgdamm:
- Drop :keepla
- USES=tar:bzip2
- Use INSTALL_TARGET=install-strip

databases/libgdamm5:
- Add INSTALL_TARGET=install-strip
- Drop --enable-static (inherited from old repocopy)

devel/anjuta x11-toolkits/py-gnome-extras:
- Drop :keepla

dns/powerdns dns/powerdns-devel:
- Convert to USES=libtool
- Add INSTALL_TARGET=install-strip
- Disable static modules
- Stop creating library symlinks with .0 suffix, not needed for dynamically
  opened modules

mail/dovecot2:
- Add USES=libtool

mail/dovecot2-pigeonhole:
- Drop CONFIGURE_TARGET (incorrect for Dragonfly)
- Add USES=libtool and INSTALL_TARGET=install-strip

math/gnumeric:
- USES=libtool tar:xz

Approved by:	portmgr (implicit, bump unstaged ports)
2014-07-24 18:34:16 +00:00

111 lines
2.9 KiB
Makefile

# Created by: Roger Hardiman <roger@FreeBSD.org>
# $FreeBSD$
PORTNAME= pwlib
PORTVERSION= 1.12.0
PORTREVISION= 9
PORTEPOCH= 1
CATEGORIES= devel
MASTER_SITES= SF/openh323/${PORTNAME}/${PORTVERSION}
DISTNAME= ptlib-v${PORTVERSION:S/./_/g}-src
DIST_SUBDIR= openh323
MAINTAINER= ports@FreeBSD.org
COMMENT= Cross platform C++ library, used by OpenH323
LIB_DEPENDS= libexpat.so:${PORTSDIR}/textproc/expat2
CONFLICTS= ptlib-2.*
WRKSRC= ${WRKDIR}/ptlib_v${PORTVERSION:S/./_/g}
USES= bison gmake
USE_GCC= any
USE_AUTOTOOLS= autoconf
WANT_GNOME= yes
WANT_SDL= yes
USE_OPENSSL= yes
USE_LDCONFIG= yes
MAKE_JOBS_UNSAFE= yes
OPTIONS_DEFINE= SDL PLUGINS LDAP ESOUND V4L
OPTIONS_DEFAULT= PLUGINS LDAP
OPTIONS_SUB= yes
LDAP_DESC= OpenLDAP support
BROKEN_armv6= Does not install on arm: mtree
CFLAGS+= -O1
MAKE_ENV= STDCCFLAGS+="-I${LOCALBASE}"
CPPFLAGS+= -O1 -I${WRKSRC}/include -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
CONFIGURE_ENV+= ATOMICITY_H="<ext/atomicity.h>"
SDL_USE= SDL=sdl
SDL_CONFIGURE_ENV= SDLLIBDIR="${LOCALBASE}/lib"
SDL_MAKE_ENV= SDLLIBDIR="${LOCALBASE}/lib"
SDL_CONFIGURE_ENABLE= sdl
PLUGINS_CONFIGURE_ENABLE= plugins
LDAP_CONFIGURE_ENABLE= openldap
LDAP_USE= OPENLDAP=yes
LDAP_CONFIGURE_ENV= OPENLDAPLIBDIR="${LOCALBASE}/lib"
LDAP_MAKE_ENV= OPENLDAPLIBDIR="${LOCALBASE}/lib"
ESOUND_USE= GNOME=esound
ESOUND_CONFIGURE_ENABLE= esd
V4L_CONFIGURE_ENABLE= v4l
V4L_BUILD_DEPENDS= ${LOCALBASE}/include/linux/videodev.h:${PORTSDIR}/multimedia/v4l_compat
#explicity build OSS
CONFIGURE_ARGS+= --enable-oss
#disable OBDC support... it doesn't compile and nothing _seems_ to
#actually use it. If you do have something that requires this please
#send patches!
CONFIGURE_ARGS+= --disable-odbc
# ONLY FOR THE BRAVE!
# If someone owns a firewire(4) video device and wants to use it for
# video-conferencing purposes, please download the files:
# libraw1394.shar.gz, libavc1394.shar.gz and libdc1394.shar.gz from
# ftp://ftp.frm2.tum.de/pub/jpulz/FreeBSD/ports/
# Extract the files in ${PORTSDIR}/devel and uncomment the following lines.
#
##enable libavc1394
#.if defined(WITH_AVC1394)
#LIB_DEPENDS+= avc1394.2:${PORTSDIR}/devel/libavc1394 \
# dv.4:${PORTSDIR}/multimedia/libdv
#CONFIGURE_ARGS+= --enable-avc
#PLIST_SUB+= AVC1394=""
#.else
CONFIGURE_ARGS+= --disable-avc
PLIST_SUB+= AVC1394="@comment "
#.endif
#
##enable libdc1394
#.if defined(WITH_DC1394)
#LIB_DEPENDS+= dc1394_control.13:${PORTSDIR}/devel/libdc1394
#CONFIGURE_ARGS+= --enable-dc
#PLIST_SUB+= DC1394=""
#.else
CONFIGURE_ARGS+= --disable-dc
PLIST_SUB+= DC1394="@comment "
#.endif
.include <bsd.port.pre.mk>
.if (${ARCH} == "amd64") || (${ARCH} == "ia64") || (${ARCH} == "powerpc") || (${ARCH} == "sparc64")
CFLAGS+= -fPIC
.endif
.if (${ARCH} == "amd64") || (${ARCH} == "i386") || (${ARCH} == "ia64") || (${ARCH} == "powerpc") || (${ARCH} == "sparc64")
PLIST_SUB+= BSDVIDEO=""
.else
PLIST_SUB+= BSDVIDEO="@comment "
.endif
.include <bsd.port.post.mk>