1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-25 00:51:21 +00:00
freebsd-ports/net-im/licq/Makefile
Jimmy Olgeni 7dc406a7a1 Remove indefinite articles and trailing periods from COMMENT, plus minor
COMMENT typos and surrounding whitespace fixes. A few Makefiles where not
included as they contain Latin-1 characters that break the Phabricator
workflow. Category N.

CR:		D307
Approved by:	portmgr (bapt)
2014-07-10 12:13:11 +00:00

53 lines
1.3 KiB
Makefile

# Created by: Brian Feldman & Matt Heckaman
# $FreeBSD$
PORTNAME= base
PORTVERSION= ${LICQ_VER}
CATEGORIES= net-im
PKGNAMESUFFIX= ${SOCKS_SUFFIX}${PKGNAMESUFFIX2}
MAINTAINER= dinoex@FreeBSD.org
COMMENT= Popular ICQ-compatible plugin-based program
LIB_DEPENDS= libboost_regex.so:${PORTSDIR}/devel/boost-libs
LICENSE= GPLv2
USES= cmake iconv
WRKSRC= ${WRKDIR}/${DISTNAME}
LICQ_PORT?= net-im/licq
# workaround for installed autoconf/automake
LDFLAGS+= ${PTHREAD_LIBS} -L${LOCALBASE}/lib ${ICONV_LIB} -Wl,--export-dynamic
CPPFLAGS+= -I${LOCALBASE}/include
CFLAGS+= -I${LOCALBASE}/include
CXXFLAGS+= -Wl,--export-dynamic -DGTEST_USE_OWN_TR1_TUPLE
OPTIONS_DEFINE= OPENSSL
OPTIONS_DEFAULT=OPENSSL
OPENSSL_USE= OPENSSL=yes
OPENSSL_CONFIGURE_ON= --with-openssl-inc=${OPENSSLINC} --with-openssl-lib=${OPENSSLLIB}
.include <bsd.port.options.mk>
.include "${PORTSDIR}/${LICQ_PORT}/Makefile.inc"
.if ${PORT_OPTIONS:MNLS}
USES+= gettext
PLIST_SUB+= NLS=""
.else
CMAKE_ARGS+= -DENABLE_NLS:BOOL=OFF
PLIST_SUB+= NLS="@comment "
.endif
pre-configure:
${REINPLACE_CMD} -e 's=!/bin/bash=!${LOCALBASE}/bin/bash=' \
${WRKSRC}/bin/sidclean.sh
post-install:
${MKDIR} ${STAGEDIR}${PREFIX}/lib/licq
${INSTALL_SCRIPT} ${WRKSRC}/bin/sidclean.sh ${STAGEDIR}${PREFIX}/bin/sidclean.bash
.include <bsd.port.mk>