2007-07-09 04:24:04 +02:00
|
|
|
# New ports collection makefile for: zxid
|
|
|
|
# Date created: 2007-07-06
|
|
|
|
# Whom: Gea-Suan Lin <gslin@gslin.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= zxid
|
2012-02-12 15:06:02 +01:00
|
|
|
PORTVERSION= 1.05
|
2007-07-09 04:24:04 +02:00
|
|
|
CATEGORIES= security www
|
|
|
|
MASTER_SITES= http://zxid.org/
|
|
|
|
EXTRACT_SUFX= .tgz
|
|
|
|
|
2007-10-24 02:49:32 +02:00
|
|
|
MAINTAINER= clsung@FreeBSD.org
|
2007-07-09 04:24:04 +02:00
|
|
|
COMMENT= Open Source IdM for the Masses - SAML SSO
|
|
|
|
|
|
|
|
LIB_DEPENDS= curl:${PORTSDIR}/ftp/curl
|
|
|
|
|
2010-12-17 20:22:18 +01:00
|
|
|
MAKE_JOBS_UNSAFE= yes
|
|
|
|
|
2012-02-12 15:06:02 +01:00
|
|
|
CFLAGS+= -D_LSEEK_DECLARED -fPIC
|
|
|
|
MAKE_ARGS= CC="${CC}" CURL_ROOT="${LOCALBASE}" LD="${CC}" \
|
2007-07-09 04:24:04 +02:00
|
|
|
PREFIX="${PREFIX}" OPENSSL_ROOT="${OPENSSLBASE}"
|
|
|
|
USE_GMAKE= yes
|
|
|
|
USE_LDCONFIG= yes
|
|
|
|
USE_OPENSSL= yes
|
|
|
|
|
2012-02-12 15:06:02 +01:00
|
|
|
ZXID_BINS= smime zxcall zxcot zxdecode zxencdectest zxid zxidhlo \
|
|
|
|
zxidhlowsf zxidhrxmlwsc zxidhrxmlwsp zxididp zxidsimple \
|
|
|
|
zxidwsctool zxlogview zxpasswd
|
2009-12-18 04:57:54 +01:00
|
|
|
|
2012-02-12 15:06:02 +01:00
|
|
|
post-install:
|
|
|
|
${MKDIR} ${PREFIX}/include/zxid/
|
|
|
|
cd ${WRKSRC}/ && ${INSTALL_PROGRAM} ${ZXID_BINS} ${PREFIX}/bin/
|
|
|
|
${INSTALL_LIB} ${WRKSRC}/libzxid.a ${PREFIX}/lib/
|
|
|
|
${INSTALL_LIB} ${WRKSRC}/libzxid.so.0.0 ${PREFIX}/lib/libzxid.so.0
|
2009-12-18 04:57:54 +01:00
|
|
|
${LN} -sf libzxid.so.0 ${PREFIX}/lib/libzxid.so
|
2012-02-12 15:06:02 +01:00
|
|
|
cd ${WRKSRC}/ && ${INSTALL_DATA} *.h c/*.h ${PREFIX}/include/zxid/
|
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
${MKDIR} ${DOCSDIR}/
|
|
|
|
cd ${WRKSRC}/ && ${INSTALL_DATA} *.pd ${DOCSDIR}/
|
|
|
|
.endif
|
2007-07-10 04:33:53 +02:00
|
|
|
|
2008-02-01 13:45:08 +01:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
2010-04-01 07:50:11 +02:00
|
|
|
.if ${ARCH} == "powerpc" || ${ARCH} == "sparc64"
|
2008-02-01 13:45:08 +01:00
|
|
|
BROKEN= Does not install
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.post.mk>
|