openbsd-ports/net/climm/Makefile
pascal fc041ce898 import net/climm.
ok jasper@
2011-11-13 15:45:34 +00:00

51 lines
1.2 KiB
Makefile

# $OpenBSD: Makefile,v 1.1.1.1 2011/11/13 15:45:34 pascal 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
PERMIT_PACKAGE_FTP = Yes
PERMIT_DISTFILES_CDROM =Yes
PERMIT_DISTFILES_FTP = 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>