mirror of
https://git.freebsd.org/ports.git
synced 2025-06-04 12:26:27 -04:00
app.c: In function 'xmlsec_TransformHmacSha256Id': app.c:349: error: 'xmlSecOpenSSLTransformHmacSha256Id' undeclared (first use in this function) app.c:349: error: (Each undeclared identifier is reported only once app.c:349: error: for each function it appears in.) app.c: In function 'xmlsec_TransformRsaSha256Id': app.c:430: error: 'xmlSecOpenSSLTransformRsaSha256Id' undeclared (first use in this function) app.c: In function 'xmlsec_TransformSha256Id': app.c:488: error: 'xmlSecOpenSSLTransformSha256Id' undeclared (first use in this function) error: command 'cc' failed with exit status 1 - Add missing USES=ssl - Remove NO_ARCH, this port installs a shared library
44 lines
1.1 KiB
Makefile
44 lines
1.1 KiB
Makefile
# Created by: ijliao
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= xmlsec
|
|
PORTVERSION= 0.3.0
|
|
PORTREVISION= 4
|
|
CATEGORIES= security python
|
|
MASTER_SITES= http://labs.libre-entreprise.org/frs/download.php/430/
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
DISTNAME= py${PORTNAME}-${PORTVERSION}
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= Python bindings for XML Security Library
|
|
|
|
LICENSE= GPLv2+
|
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
|
|
|
LIB_DEPENDS= libxmlsec1.so:security/xmlsec1
|
|
RUN_DEPENDS= ${PYTHON_SITELIBDIR}/libxml2.py:textproc/py-libxml2
|
|
|
|
BROKEN_FreeBSD_9= does not build
|
|
|
|
USES= python:2 ssl
|
|
USE_PYTHON= distutils autoplist
|
|
|
|
DOCSDIR= ${PREFIX}/share/doc/py-${PORTNAME}
|
|
EXAMPLESDIR= ${PREFIX}/share/examples/py-${PORTNAME}
|
|
PORTDOCS= *
|
|
PORTEXAMPLES= *
|
|
|
|
OPTIONS_DEFINE= DOCS EXAMPLES
|
|
|
|
post-install:
|
|
@${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/xmlsecmod.so
|
|
|
|
post-install-DOCS-on:
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
(cd ${WRKSRC}/docs/html/ && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}/)
|
|
|
|
post-install-EXAMPLES-on:
|
|
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
|
|
(cd ${WRKSRC}/examples/ && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR}/)
|
|
|
|
.include <bsd.port.mk>
|