mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-02 06:03:50 +00:00
93476d1540
PR: 128523 Submitted by: Marcin Wisnicki <mwisnicki+freebsd@gmail.com> (maintainer)
49 lines
1000 B
Makefile
49 lines
1000 B
Makefile
# New ports collection makefile for: libgadu
|
|
# Date created: 29 December 2005
|
|
# Whom: Aleksander Fafula <alex@BSDGuru.org>
|
|
#
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= libgadu
|
|
PORTVERSION= 1.8.2
|
|
PORTEPOCH= 1
|
|
CATEGORIES= polish net
|
|
MASTER_SITES= http://toxygen.net/libgadu/files/
|
|
|
|
MAINTAINER= mwisnicki+freebsd@gmail.com
|
|
COMMENT= This library is used by many IMs with Gadu-Gadu support
|
|
|
|
CONFLICTS= pl-ekg-1.[0-6]*
|
|
|
|
USE_GMAKE= yes
|
|
USE_GNOME= gnomehack pkgconfig
|
|
GNU_CONFIGURE= yes
|
|
|
|
CONFIGURE_ARGS= --enable-shared --disable-static
|
|
|
|
USE_LDCONFIG= yes
|
|
|
|
OPTIONS= OPENSSL "Build with OPENSSL support" on
|
|
|
|
PLIST_FILES= include/libgadu.h \
|
|
lib/libgadu.la \
|
|
lib/libgadu.so \
|
|
lib/libgadu.so.3 \
|
|
libdata/pkgconfig/libgadu.pc
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if defined(WITH_OPENSSL)
|
|
.include "${PORTSDIR}/Mk/bsd.openssl.mk"
|
|
.else
|
|
CONFIGURE_ARGS+= --without-openssl
|
|
.endif
|
|
|
|
pre-install:
|
|
|
|
.if defined(WITH_OPENSSL)
|
|
@${REINPLACE_CMD} -e 's|openssl| |g' ${WRKSRC}/pkgconfig/libgadu.pc
|
|
.endif
|
|
|
|
.include <bsd.port.post.mk>
|