openbsd-ports/security/pidgin-otr/Makefile
fgsch cda8ae9bae Add libtool to BUILD_DEPENDS and bump. add spaces around = while I'm here.
ajacoutot@ requested this instead of switching USE_LIBTOOL to gnu.
2011-01-15 16:39:13 +00:00

53 lines
1.2 KiB
Makefile

# $OpenBSD: Makefile,v 1.13 2011/01/15 16:39:13 fgsch Exp $
COMMENT = allows deniable private conversations using Pidgin
DISTNAME = pidgin-otr-3.2.0
CATEGORIES = security net
REVISION = 0
HOMEPAGE = http://www.cypherpunks.ca/otr/
MASTER_SITES = ${HOMEPAGE}
# GPLv2
PERMIT_PACKAGE_CDROM = Yes
PERMIT_PACKAGE_FTP = Yes
PERMIT_DISTFILES_CDROM = Yes
PERMIT_DISTFILES_FTP = Yes
RUN_DEPENDS = net/pidgin>=2.0.0
BUILD_DEPENDS = ${RUN_DEPENDS} \
devel/libtool
LIB_DEPENDS = security/libotr>=3.2.0
MODULES = devel/gettext \
textproc/intltool
WANTLIB = gpg-error gcrypt otr>=3.2
USE_LIBTOOL = Yes
LIBTOOL_FLAGS += --tag=disable-static
SHARED_ONLY = Yes
CONFIGURE_STYLE = gnu
CONFIGURE_ENV = CFLAGS="${CFLAGS} -I${LOCALBASE}/include" \
LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib "
AUTOCONF_VERSION = 2.59
AUTOMAKE_VERSION = 1.9
BUILD_DEPENDS += ${MODGNU_AUTOCONF_DEPENDS} \
${MODGNU_AUTOMAKE_DEPENDS}
pre-configure:
cd ${WRKSRC} && ${SETENV} AUTOMAKE_VERSION=${AUTOMAKE_VERSION} \
AUTOCONF_VERSION=${AUTOCONF_VERSION} autoreconf -s -i
cd ${WRKSRC} && ${LOCALBASE}/bin/intltoolize --force --copy
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/pidgin
${INSTALL_DATA} ${WRKSRC}/README \
${PREFIX}/share/doc/pidgin/otr-plugin.txt
.include <bsd.port.mk>