1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-15 03:14:23 +00:00
freebsd-ports/polish/libgadu/Makefile
Pawel Pekala 9012472463 - Change secondary category to net-im [1]
- Improve COMMENT
- Trim Makefile header

PR:		ports/171434 [1]
Suggested by:	tcb <tcberner@gmail.com> [1]
2013-01-24 16:05:18 +00:00

52 lines
1.1 KiB
Makefile

# Created by: Aleksander Fafula <alex@BSDGuru.org>
# $FreeBSD$
PORTNAME= libgadu
DISTVERSION= 1.11.2
PORTEPOCH= 1
CATEGORIES= polish net-im
MASTER_SITES= http://toxygen.net/libgadu/files/
MAINTAINER= pawel@FreeBSD.org
COMMENT= Instant messaging library for Gadu-Gadu protocol
LICENSE= LGPL21
CONFLICTS= pl-ekg-1.[0-6]*
USE_GNOME= gnomehack pkgconfig
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --enable-shared --disable-static --with-pthread \
--disable-tests --without-gnutls
USE_LDCONFIG= yes
PLIST_FILES= include/libgadu.h \
lib/libgadu.la \
lib/libgadu.so \
lib/libgadu.so.3 \
libdata/pkgconfig/libgadu.pc
OPTIONS_DEFINE= OPENSSL
OPTIONS_DEFAULT=OPENSSL
.include <bsd.port.pre.mk>
.if ${PORT_OPTIONS:MOPENSSL}
.include "${PORTSDIR}/Mk/bsd.openssl.mk"
.else
CONFIGURE_ARGS+= --without-openssl
.endif
post-patch:
@${REINPLACE_CMD} -Ee 's/@SUBDIRS_DOXYGEN@//' ${WRKSRC}/Makefile.in
pre-install:
# OpenSSL from base system lacks .pc file for pkgconfig
.if ${PORT_OPTIONS:MOPENSSL}
@${REINPLACE_CMD} -e 's|openssl| |g' ${WRKSRC}/pkgconfig/libgadu.pc
.endif
.include <bsd.port.post.mk>