aboutsummaryrefslogtreecommitdiff
path: root/textproc/p5-XML-DifferenceMarkup/Makefile
blob: 6731fc91d7d32c2f224a58fabf4c6e1c62a84843 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# Created by: Sergey Skvortsov <skv@protey.ru>

PORTNAME=	XML-DifferenceMarkup
PORTVERSION=	1.05
CATEGORIES=	textproc perl5
MASTER_SITES=	CPAN
PKGNAMEPREFIX=	p5-

MAINTAINER=	perl@FreeBSD.org
COMMENT=	This module implements an XML diff producing XML output

LICENSE=	ART10 GPLv1+
LICENSE_COMB=	dual

BUILD_DEPENDS=	${RUN_DEPENDS}
RUN_DEPENDS=	p5-XML-LibXML>=0:textproc/p5-XML-LibXML
LIB_DEPENDS=	libdiffmark.so:textproc/diffmark

USES=		perl5
USE_PERL5=	configure

post-patch:
	@${REINPLACE_CMD} '/^\$$CC/s|g++|${CXX}|; s|/usr/local|${LOCALBASE}|g' \
		${WRKSRC}/Makefile.PL

# Don't pass any argument to Makefile.PL, it messes up lib detection.
do-configure:
	@cd ${CONFIGURE_WRKSRC} && \
		${SETENV} ${CONFIGURE_ENV} ${CONFIGURE_ARGS} \
		${PERL5} ${CONFIGURE_CMD}

.include <bsd.port.mk>