openbsd-ports/net/climm/Makefile
2013-03-11 11:35:43 +00:00

48 lines
1.1 KiB
Makefile

# $OpenBSD: Makefile,v 1.2 2013/03/11 11:35:45 espie Exp $
COMMENT = simple, command-line multi messenger
DISTNAME = climm-0.7.1
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 \
security/gnutls \
textproc/iksemel \
${MODTCL_LIB_DEPENDS}
USE_GMAKE = Yes
CONFIGURE_STYLE = gnu
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>