openbsd-ports/net/climm/Makefile
2013-08-15 16:34:24 +00:00

50 lines
1.2 KiB
Makefile

# $OpenBSD: Makefile,v 1.3 2013/08/15 16:34:24 stsp Exp $
COMMENT = simple, command-line multi messenger
DISTNAME = climm-0.7.1
REVISION = 0
CATEGORIES = net
HOMEPAGE = http://www.climm.org/
MAINTAINER = Pascal Stumpf <Pascal.Stumpf@cubes.de>
# GPLv2
PERMIT_PACKAGE_CDROM = Yes
WANTLIB += c gcrypt gnutls gpg-error iksemel otr pthread ${MODTCL_WANTLIB}
MASTER_SITES = ${HOMEPAGE}/source/
EXTRACT_SUFX = .tgz
MODULES = devel/gettext \
lang/tcl
LIB_DEPENDS = security/libotr>=4.0.0 \
security/gnutls \
textproc/iksemel \
${MODTCL_LIB_DEPENDS}
USE_GMAKE = Yes
AUTOCONF_VERSION = 2.65
CONFIGURE_STYLE = autoconf
CONFIGURE_ARGS += --enable-ssl=gnutls
CONFIGURE_ENV = CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
MAKE_FLAGS = noinst_LIBRARIES=""
pre-configure:
@perl -pi -e 's/tcl8\./tcl8/g if /ac_lib/' ${WRKSRC}/configure
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/climm
${INSTALL_DATA} ${WRKSRC}/{README,FAQ} ${PREFIX}/share/doc/climm
cd ${WRKSRC}/doc && ${INSTALL_DATA} README.NONLINUX \
README.i18n README.logformat README.ssl README.tcl \
example-climm-event-script icq091.txt icqv7.txt \
${PREFIX}/share/doc/climm
.include <bsd.port.mk>