View | Details | Raw Unified | Return to bug 162571
Collapse All | Expand All

(-)libxml2/Makefile (-6 / +9 lines)
Lines 20-26 Link Here
20
		ftp://xmlsoft.org/libxml2/
20
		ftp://xmlsoft.org/libxml2/
21
DIST_SUBDIR=	gnome2
21
DIST_SUBDIR=	gnome2
22
22
23
MAINTAINER?=	gnome@FreeBSD.org
23
MAINTAINER=	gnome@FreeBSD.org
24
COMMENT?=	XML parser library for GNOME
24
COMMENT?=	XML parser library for GNOME
25
25
26
.if !defined(REFERENCE_PORT)
26
.if !defined(REFERENCE_PORT)
Lines 28-44 Link Here
28
USE_CSTD=	gnu89
28
USE_CSTD=	gnu89
29
USE_GMAKE=	yes
29
USE_GMAKE=	yes
30
MAKE_JOBS_SAFE=	yes
30
MAKE_JOBS_SAFE=	yes
31
USE_ICONV=	yes
32
GNU_CONFIGURE=	yes
31
GNU_CONFIGURE=	yes
33
USE_GNOME?=	gnomehack pkgconfig
32
USE_GNOME?=	gnomehack pkgconfig
34
USE_LDCONFIG=	yes
33
USE_LDCONFIG=	yes
35
CONFIGURE_ARGS?=--with-iconv=${LOCALBASE} \
34
CONFIGURE_ARGS?=--with-html-dir=${PREFIX}/share/doc \
36
		--with-html-dir=${PREFIX}/share/doc \
37
		--with-html-subdir=${PORTNAME} \
35
		--with-html-subdir=${PORTNAME} \
38
		--without-python
36
		--without-python
39
CPPFLAGS+=	-I${LOCALBASE}/include
37
CPPFLAGS+=	-I${LOCALBASE}/include
40
LDFLAGS+=	-L${LOCALBASE}/lib
38
LDFLAGS+=	-L${LOCALBASE}/lib
41
39
40
.if !defined(WITHOUT_ICONV)
41
USE_ICONV=	yes
42
CONFIGURE_ARGS+=--with-iconv=${LOCALBASE}
43
.endif
44
42
.if !defined(MASTERDIR)
45
.if !defined(MASTERDIR)
43
MAN1=		xml2-config.1 xmllint.1 xmlcatalog.1
46
MAN1=		xml2-config.1 xmllint.1 xmlcatalog.1
44
MAN3=		libxml.3
47
MAN3=		libxml.3
Lines 75-80 Link Here
75
		 s|/etc/sgml/catalog|${LOCALBASE}/share/sgml/catalog|g' ${WRKSRC}/${f}
78
		 s|/etc/sgml/catalog|${LOCALBASE}/share/sgml/catalog|g' ${WRKSRC}/${f}
76
.endfor
79
.endfor
77
80
78
.include <bsd.port.mk>
79
80
.endif
81
.endif
82
83
.include <bsd.port.mk>

Return to bug 162571