2012-05-16 08:18:29 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.17 2012/05/16 12:18:29 sthen Exp $
|
2007-05-28 03:26:33 -04:00
|
|
|
|
2011-01-15 11:39:13 -05:00
|
|
|
COMMENT = allows deniable private conversations using Pidgin
|
2007-05-28 03:26:33 -04:00
|
|
|
|
2012-05-16 08:18:29 -04:00
|
|
|
DISTNAME = pidgin-otr-3.2.1
|
2011-01-15 11:39:13 -05:00
|
|
|
CATEGORIES = security net
|
2011-01-20 13:55:44 -05:00
|
|
|
EPOCH = 0
|
2007-05-28 03:26:33 -04:00
|
|
|
|
2011-01-15 11:39:13 -05:00
|
|
|
HOMEPAGE = http://www.cypherpunks.ca/otr/
|
2007-05-28 03:26:33 -04:00
|
|
|
|
2011-01-15 11:39:13 -05:00
|
|
|
MASTER_SITES = ${HOMEPAGE}
|
2007-05-28 03:26:33 -04:00
|
|
|
|
2007-11-29 09:07:42 -05:00
|
|
|
# GPLv2
|
2011-01-15 11:39:13 -05:00
|
|
|
PERMIT_PACKAGE_CDROM = Yes
|
|
|
|
PERMIT_PACKAGE_FTP = Yes
|
|
|
|
PERMIT_DISTFILES_CDROM = Yes
|
|
|
|
PERMIT_DISTFILES_FTP = Yes
|
2007-05-28 03:26:33 -04:00
|
|
|
|
2011-01-15 11:39:13 -05:00
|
|
|
RUN_DEPENDS = net/pidgin>=2.0.0
|
|
|
|
BUILD_DEPENDS = ${RUN_DEPENDS} \
|
|
|
|
devel/libtool
|
|
|
|
LIB_DEPENDS = security/libotr>=3.2.0
|
2007-05-28 03:26:33 -04:00
|
|
|
|
2011-01-15 11:39:13 -05:00
|
|
|
MODULES = devel/gettext \
|
2008-06-03 02:59:25 -04:00
|
|
|
textproc/intltool
|
2011-01-15 11:39:13 -05:00
|
|
|
WANTLIB = gpg-error gcrypt otr>=3.2
|
2007-05-28 03:26:33 -04:00
|
|
|
|
2011-01-15 11:39:13 -05:00
|
|
|
USE_LIBTOOL = Yes
|
|
|
|
LIBTOOL_FLAGS += --tag=disable-static
|
2007-05-28 03:26:33 -04:00
|
|
|
|
2011-01-15 11:39:13 -05:00
|
|
|
SHARED_ONLY = Yes
|
2007-05-28 03:26:33 -04:00
|
|
|
|
2011-01-15 11:39:13 -05:00
|
|
|
CONFIGURE_STYLE = gnu
|
|
|
|
CONFIGURE_ENV = CFLAGS="${CFLAGS} -I${LOCALBASE}/include" \
|
2007-05-28 03:26:33 -04:00
|
|
|
LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib "
|
|
|
|
|
2012-02-21 04:13:50 -05:00
|
|
|
AUTOCONF_VERSION = 2.60
|
2011-01-15 11:39:13 -05:00
|
|
|
AUTOMAKE_VERSION = 1.9
|
|
|
|
BUILD_DEPENDS += ${MODGNU_AUTOCONF_DEPENDS} \
|
|
|
|
${MODGNU_AUTOMAKE_DEPENDS}
|
2007-05-28 03:26:33 -04:00
|
|
|
|
|
|
|
pre-configure:
|
|
|
|
cd ${WRKSRC} && ${SETENV} AUTOMAKE_VERSION=${AUTOMAKE_VERSION} \
|
|
|
|
AUTOCONF_VERSION=${AUTOCONF_VERSION} autoreconf -s -i
|
2007-11-29 09:07:42 -05:00
|
|
|
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
|
2007-05-28 03:26:33 -04:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|