Lines 1-51
Link Here
|
1 |
# Created by: Ade Lovett <ade@FreeBSD.org> |
1 |
# Created by: Ade Lovett <ade@FreeBSD.org> |
2 |
# $FreeBSD$ |
2 |
# $FreeBSD$ |
3 |
|
3 |
|
4 |
PORTNAME= libxslt |
4 |
PORTNAME= libxslt |
5 |
PORTVERSION= 1.1.32 |
5 |
PORTVERSION= 1.1.33 |
6 |
PORTREVISION?= 1 |
6 |
PORTREVISION?= 0 |
7 |
CATEGORIES?= textproc gnome |
7 |
CATEGORIES?= textproc gnome |
8 |
MASTER_SITES= http://xmlsoft.org/sources/ \ |
8 |
MASTER_SITES= http://xmlsoft.org/sources/ \ |
9 |
https://mirror.umd.edu/xbmc/build-deps/sources/ |
9 |
https://mirror.umd.edu/xbmc/build-deps/sources/ |
10 |
DIST_SUBDIR= gnome2 |
10 |
DIST_SUBDIR= gnome2 |
11 |
|
11 |
|
12 |
MAINTAINER?= gnome@FreeBSD.org |
12 |
MAINTAINER?= gnome@FreeBSD.org |
13 |
COMMENT?= The XSLT C library for GNOME |
13 |
COMMENT?= The XSLT C library for GNOME |
14 |
|
14 |
|
15 |
.if !defined(REFERENCE_PORT) |
15 |
.if !defined(REFERENCE_PORT) |
16 |
|
16 |
|
17 |
USES+= cpe gmake localbase libtool pathfix |
17 |
LICENSE= MIT |
|
|
18 |
|
19 |
USES+= cpe gmake gnome localbase libtool pathfix |
18 |
CPE_VENDOR= xmlsoft |
20 |
CPE_VENDOR= xmlsoft |
19 |
GNU_CONFIGURE= yes |
21 |
GNU_CONFIGURE= yes |
20 |
INSTALL_TARGET= install-strip |
22 |
INSTALL_TARGET= install-strip |
21 |
USE_LDCONFIG= yes |
23 |
USE_LDCONFIG= yes |
22 |
USE_GNOME?= libxml2 |
24 |
USE_GNOME?= libxml2 |
23 |
CONFIGURE_ARGS?=--with-html-dir=${PREFIX}/share/doc \ |
25 |
CONFIGURE_ARGS?=--with-html-dir=${PREFIX}/share/doc \ |
24 |
--without-python |
26 |
--without-python |
25 |
|
|
|
26 |
LICENSE= MIT |
27 |
|
27 |
|
28 |
.if defined(MASTERDIR) |
28 |
.if defined(MASTERDIR) |
29 |
_SLAVE_PORT= yes |
29 |
_SLAVE_PORT= yes |
30 |
.else |
30 |
.else |
31 |
|
31 |
|
32 |
OPTIONS_DEFINE= MEM_DEBUG CRYPTO |
32 |
OPTIONS_DEFINE= MEM_DEBUG CRYPTO |
33 |
OPTIONS_DEFAULT=CRYPTO |
33 |
OPTIONS_DEFAULT=CRYPTO |
34 |
MEM_DEBUG_DESC= Enable memory debugging |
34 |
MEM_DEBUG_DESC= Enable memory debugging |
35 |
CRYPTO_DESC= Enable crypto support for exslt |
35 |
CRYPTO_DESC= Enable crypto support for exslt |
36 |
.endif |
36 |
.endif |
37 |
|
37 |
|
38 |
MEM_DEBUG_CONFIGURE_ON= --with-mem-debug |
38 |
MEM_DEBUG_CONFIGURE_ON= --with-mem-debug |
39 |
CRYPTO_CONFIGURE_WITH= crypto |
39 |
CRYPTO_CONFIGURE_WITH= crypto |
40 |
CRYPTO_LIB_DEPENDS= libgcrypt.so:security/libgcrypt |
40 |
CRYPTO_LIB_DEPENDS= libgcrypt.so:security/libgcrypt |
41 |
|
41 |
|
42 |
post-patch: |
42 |
post-patch: |
43 |
@${REINPLACE_CMD} -e '/^install-data-am:/ s|install-data-local||' \ |
43 |
@${REINPLACE_CMD} -e '/^install-data-am:/ s|install-data-local||' \ |
44 |
${WRKSRC}/doc/Makefile.in |
44 |
${WRKSRC}/doc/Makefile.in |
45 |
@${REINPLACE_CMD} -e 's|[$$](bindir)/xsltproc|../xsltproc/xsltproc|g ; \ |
45 |
@${REINPLACE_CMD} -e 's|[$$](bindir)/xsltproc|../xsltproc/xsltproc|g ; \ |
46 |
s|[$$](bindir)/xmllint|../xmllint/xmllint|g' \ |
46 |
s|[$$](bindir)/xmllint|../xmllint/xmllint|g' \ |
47 |
${WRKSRC}/doc/Makefile.in |
47 |
${WRKSRC}/doc/Makefile.in |
48 |
|
48 |
|
49 |
.include <bsd.port.mk> |
49 |
.include <bsd.port.mk> |
50 |
|
50 |
|
51 |
.endif |
51 |
.endif |