aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/p5-HTML-CTPP2/Makefile
blob: 05995bb520d6f25499db175d379e1780815b340f (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
# Created by: Andrei V. Shetuhin <reki@reki.ru>
# $FreeBSD$

PORTNAME=   HTML-CTPP2
PORTVERSION=    2.6.7
PORTREVISION=   1
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

USES=       perl5
USE_PERL5=  configure

# 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>