aboutsummaryrefslogtreecommitdiff
path: root/textproc/p5-HTML-CTPP2/Makefile
blob: 55973abcfe144c3a536f1348e954b6da9dcfe1e5 (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
# New ports collection makefile for:	p5-HTML-CTPP2
# Date Created:				20 Mar, 2008
# Whom:					Andrei V. Shetuhin <reki@reki.ru>
#
# $FreeBSD$
#

PORTNAME=	HTML-CTPP2
PORTVERSION=	2.6.7
CATEGORIES=	textproc perl5
MASTER_SITES=	CPAN \
		http://ctpp.havoc.ru/download/
PKGNAMEPREFIX=	p5-

MAINTAINER=	reki@reki.ru
COMMENT=	Perl interface module to CTPP2 library

BUILD_DEPENDS=	ctpp2>=2.5.1:${PORTSDIR}/textproc/ctpp2
LIB_DEPENDS=	ctpp2:${PORTSDIR}/textproc/ctpp2

PERL_CONFIGURE=	yes

MAN3=		HTML::CTPP2.3

# The port actually requires ${CXX} when ${CC} is defined
CC=		${CXX}

post-patch:
	@${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|' \
	    ${WRKSRC}/Makefile.PL

.include <bsd.port.mk>