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

(-)devel/pcre++/Makefile (-5 / +13 lines)
Lines 13-31 Link Here
13
13
14
MAINTAINER=	ports@FreeBSD.org
14
MAINTAINER=	ports@FreeBSD.org
15
15
16
LIB_DEPENDS=	pcre:${PORTSDIR}/devel/pcre
16
LIB_DEPENDS=	pcre.0:${PORTSDIR}/devel/pcre
17
18
PCRE_CONFIG?=	${LOCALBASE}/bin/pcre-config
17
19
18
USE_LIBTOOL=	yes
19
GNU_CONFIGURE=	yes
20
USE_GMAKE=	yes
20
USE_GMAKE=	yes
21
USE_LIBTOOL=	yes
22
CONFIGURE_ENV=	CPPFLAGS="`${PCRE_CONFIG} --cflags`" \
23
		LDFLAGS="`${PCRE_CONFIG} --libs`"
21
INSTALLS_SHLIB=	yes
24
INSTALLS_SHLIB=	yes
22
25
23
MAN3=	Pcre.3
26
MAN3=	Pcre.3
24
27
25
.if !defined(NOPORTDOCS)
28
post-patch:
29
	@${PERL} -pi -e 's|-I/usr/local/include||g ; \
30
		 s|-L/usr/local/lib||g' ${WRKSRC}/configure
31
	@${PERL} -pi -e 's|-O -g|\@CXXFLAGS\@|g' ${WRKSRC}/Makefile.in
32
26
post-install:
33
post-install:
34
.if !defined(NOPORTDOCS)
27
	@${MKDIR} ${DOCSDIR}
35
	@${MKDIR} ${DOCSDIR}
28
	${CP} -R ${WRKSRC}/doc/html/ ${DOCSDIR}
36
	${INSTALL_DATA} ${WRKSRC}/doc/html/*.* ${DOCSDIR}
29
.endif
37
.endif
30
38
31
.include <bsd.port.mk>
39
.include <bsd.port.mk>

Return to bug 35958