mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-06 01:57:40 +00:00
c2d1a14c7c
- Bump PORTREVISION for ftp/curl shlib change - Add TEST_DEPENDS - Convert to new options framework - Adjust options: - Add COOKIES - Add CYASSL, NSS, POLARSSL, THREADED_RESOLVER, TLS_SRP [1] - Add GSSAPI and SPNEGO [2] - Remove KERBEROS4 - Rename LIBIDN to IDN - Remove TRACKMEMORY [1] - Sort option handler - Add SLAVEDIRS: ftp/curl-hiphop - Cosmetic change - Cleanup Makefile header - While I'm here, fix typo (PORTREVSION) in x11-wm/ede/Makefile Changes: http://curl.haxx.se/changes.html PR: ports/172325 (-exp run), ports/177369 (based on) [1] Submitted by: Hirohisa Yamaguchi <umq@ueo.co.jp> [1], hrs (via email) [2] Exp run by: miwi
53 lines
1.4 KiB
Makefile
53 lines
1.4 KiB
Makefile
# Created by: Gea-Suan Lin <gslin@gslin.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= zxid
|
|
PORTVERSION= 1.05
|
|
PORTREVISION= 1
|
|
CATEGORIES= security www
|
|
MASTER_SITES= http://zxid.org/
|
|
EXTRACT_SUFX= .tgz
|
|
|
|
MAINTAINER= clsung@FreeBSD.org
|
|
COMMENT= Open Source IdM for the Masses - SAML SSO
|
|
|
|
LIB_DEPENDS= curl:${PORTSDIR}/ftp/curl
|
|
|
|
MAKE_JOBS_UNSAFE= yes
|
|
|
|
CFLAGS+= -D_LSEEK_DECLARED -fPIC
|
|
MAKE_ARGS= CC="${CC}" CURL_ROOT="${LOCALBASE}" LD="${CC}" \
|
|
PREFIX="${PREFIX}" OPENSSL_ROOT="${OPENSSLBASE}"
|
|
USE_GMAKE= yes
|
|
USE_LDCONFIG= yes
|
|
USE_OPENSSL= yes
|
|
|
|
ZXID_BINS= smime zxcall zxcot zxdecode zxencdectest zxid zxidhlo \
|
|
zxidhlowsf zxidhrxmlwsc zxidhrxmlwsp zxididp zxidsimple \
|
|
zxidwsctool zxlogview zxpasswd
|
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e 's/__inline//g' ${WRKSRC}/c/zx-attrs.c
|
|
|
|
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
|
|
${LN} -sf libzxid.so.0 ${PREFIX}/lib/libzxid.so
|
|
cd ${WRKSRC}/ && ${INSTALL_DATA} *.h c/*.h ${PREFIX}/include/zxid/
|
|
.if ${PORT_OPTIONS:MDOCS}
|
|
${MKDIR} ${DOCSDIR}/
|
|
cd ${WRKSRC}/ && ${INSTALL_DATA} *.pd ${DOCSDIR}/
|
|
.endif
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if ${ARCH} == "powerpc" || ${ARCH} == "sparc64"
|
|
BROKEN= Does not install
|
|
.endif
|
|
|
|
.include <bsd.port.post.mk>
|