Lines 2-9
Link Here
|
2 |
# $FreeBSD$ |
2 |
# $FreeBSD$ |
3 |
|
3 |
|
4 |
PORTNAME= xmlsec1 |
4 |
PORTNAME= xmlsec1 |
5 |
PORTVERSION= 1.2.23 |
5 |
PORTVERSION= 1.2.25 |
6 |
PORTREVISION= 1 |
|
|
7 |
CATEGORIES= security |
6 |
CATEGORIES= security |
8 |
MASTER_SITES= http://www.aleksey.com/xmlsec/download/ \ |
7 |
MASTER_SITES= http://www.aleksey.com/xmlsec/download/ \ |
9 |
ftp://ftp.aleksey.com/pub/xmlsec/releases/ \ |
8 |
ftp://ftp.aleksey.com/pub/xmlsec/releases/ \ |
Lines 20-45
LIB_DEPENDS= libgcrypt.so:security/libgcrypt \
Link Here
|
20 |
libgpg-error.so:security/libgpg-error \ |
19 |
libgpg-error.so:security/libgpg-error \ |
21 |
libltdl.so:devel/libltdl |
20 |
libltdl.so:devel/libltdl |
22 |
|
21 |
|
23 |
USES= libtool localbase pathfix pkgconfig ssl |
22 |
USES= libtool localbase pathfix pkgconfig ssl gmake |
24 |
USE_GNOME= libxml2 libxslt |
23 |
USE_GNOME= libxml2 libxslt |
25 |
USE_LDCONFIG= yes |
24 |
USE_LDCONFIG= yes |
26 |
GNU_CONFIGURE= yes |
25 |
GNU_CONFIGURE= yes |
27 |
CONFIGURE_ARGS= --with-openssl="${OPENSSLBASE}" \ |
26 |
CONFIGURE_ARGS= --with-openssl="${OPENSSLBASE}" \ |
28 |
--with-gcrypt="${LOCALBASE}" |
27 |
--with-gcrypt="${LOCALBASE}" \ |
|
|
28 |
--enable-soap \ |
29 |
--disable-docs-build |
29 |
MAKE_ENV= ABS_BUILDDIR=${WRKSRC} TMPFOLDER=${WRKSRC} |
30 |
MAKE_ENV= ABS_BUILDDIR=${WRKSRC} TMPFOLDER=${WRKSRC} |
30 |
INSTALL_TARGET= install-strip |
31 |
INSTALL_TARGET= install-strip |
31 |
PORTDOCS= api authors.html bugs.html c14n.html documentation.html \ |
32 |
PORTDOCS= * |
32 |
download.html faq.html favicon.ico images/bart.gif \ |
|
|
33 |
images/libxml2-logo.png images/libxslt-logo.png \ |
34 |
images/logo.gif images/openssl-logo.png \ |
35 |
images/xmlsec-logo.gif index.html news.html related.html \ |
36 |
xmldsig-verifier.html xmldsig.html xmlenc.html \ |
37 |
xmlsec-man.html |
38 |
|
33 |
|
39 |
OPTIONS_DEFINE= DOCS GNUTLS NSS |
34 |
OPTIONS_DEFINE= GNUTLS NSS |
40 |
OPTIONS_SUB= yes |
35 |
OPTIONS_DEFAULT= NSS |
|
|
36 |
OPTIONS_SUB= yes |
41 |
|
37 |
|
42 |
DOCS_MAKE_ENV= DOCS=docs |
|
|
43 |
GNUTLS_DESC= Enable GNUTLS support |
38 |
GNUTLS_DESC= Enable GNUTLS support |
44 |
GNUTLS_CONFIGURE_ON= --with-gnutls="${LOCALBASE}" |
39 |
GNUTLS_CONFIGURE_ON= --with-gnutls="${LOCALBASE}" |
45 |
GNUTLS_CONFIGURE_OFF= --without-gnutls |
40 |
GNUTLS_CONFIGURE_OFF= --without-gnutls |
Lines 54-59
NSS_LIB_DEPENDS= libnss3.so:security/nss \
Link Here
|
54 |
libplds4.so:devel/nspr \ |
49 |
libplds4.so:devel/nspr \ |
55 |
libplc4.so:devel/nspr |
50 |
libplc4.so:devel/nspr |
56 |
|
51 |
|
|
|
52 |
post-patch: |
53 |
@${REINPLACE_CMD} -e 's/mozilla-nss/nss/' \ |
54 |
-e 's/mozilla-nspr/nspr/' ${WRKSRC}/configure |
55 |
@${REINPLACE_CMD} -e 's/(CP) -ru/(CP) -r/' \ |
56 |
-e 's/(CP) -u/(CP)/' \ |
57 |
${WRKSRC}/docs/Makefile.am ${WRKSRC}/docs/Makefile.in \ |
58 |
${WRKSRC}/docs/api/Makefile.am ${WRKSRC}/docs/api/Makefile.in \ |
59 |
${WRKSRC}/man/Makefile.am ${WRKSRC}/man/Makefile.in |
60 |
|
57 |
post-patch-GNUTLS-on: |
61 |
post-patch-GNUTLS-on: |
58 |
# Don't rely on broken autodetection |
62 |
# Don't rely on broken autodetection |
59 |
@${REINPLACE_CMD} -e '/^GNUTLS_FOUND/s/no/yes/' \ |
63 |
@${REINPLACE_CMD} -e '/^GNUTLS_FOUND/s/no/yes/' \ |