openbsd-ports/security/cyrus-sasl2/Makefile

52 lines
1.4 KiB
Makefile
Raw Normal View History

# $OpenBSD: Makefile,v 1.9 2003/06/28 22:14:45 jolan Exp $
2002-06-22 04:55:44 -04:00
COMMENT= "RFC 2222 SASL (Simple Authentication and Security Layer)"
2003-06-26 14:20:20 -04:00
DISTNAME= cyrus-sasl-2.1.13
2002-06-22 04:55:44 -04:00
CATEGORIES= security
MASTER_SITES= ftp://ftp.andrew.cmu.edu/pub/cyrus-mail/ \
ftp://ftp.andrew.cmu.edu/pub/cyrus-mail/OLD-VERSIONS/sasl/
HOMEPAGE= http://asg.web.cmu.edu/sasl/
MAINTAINER= Jakob Schlyter <jakob@openbsd.org>
PERMIT_PACKAGE_CDROM= yes
PERMIT_PACKAGE_FTP= yes
PERMIT_DISTFILES_CDROM= yes
PERMIT_DISTFILES_FTP= yes
2003-06-26 14:20:20 -04:00
#SEPARATE_BUILD= concurrent
2002-06-22 04:55:44 -04:00
USE_LIBTOOL= Yes
MODGNU_CONFIG_GUESS_DIRS= ${WRKSRC}/config ${WRKSRC}/saslauthd/config
CONFIGURE_STYLE= gnu
CONFIGURE_ENV+= LDFLAGS='${LDFLAGS}'
CONFIGURE_ARGS+= ${CONFIGURE_SHARED}
CONFIGURE_ARGS+= --with-saslauthd="/var/sasl2" \
--with-staticsasl \
--with-dblib=ndbm \
--without-bdb-libdir \
--without-bdb-incdir \
2002-06-22 04:55:44 -04:00
--enable-login \
2002-09-08 07:14:29 -04:00
--enable-gssapi="/usr" \
--disable-sample
2002-06-22 04:55:44 -04:00
CFLAGS+= -I/usr/include/kerberosV
post-build:
(cd ${WRKBUILD}/saslauthd; \
${SETENV} ${MAKE_ENV} ${MAKE_PROGRAM} ${MAKE_FLAGS} testsaslauthd)
post-install:
2002-07-26 07:19:01 -04:00
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/sasl2
${INSTALL_DATA} ${WRKSRC}/doc/*.html ${PREFIX}/share/doc/sasl2
${INSTALL_DATA} ${WRKSRC}/doc/*.txt ${PREFIX}/share/doc/sasl2
2002-06-22 04:55:44 -04:00
${INSTALL_DATA} ${WRKBUILD}/lib/libsasl2.a ${PREFIX}/lib
${INSTALL_PROGRAM} ${WRKBUILD}/saslauthd/testsaslauthd ${PREFIX}/sbin
.include <bsd.port.mk>