2001-01-04 00:00:06 +00:00
|
|
|
# New ports collection makefile for: textproc/p5-XML-DT
|
|
|
|
# Date created: 01 January 2001
|
|
|
|
# Whom: Anton Berezin <tobez@tobez.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= XML-DT
|
2002-06-06 19:56:42 +00:00
|
|
|
PORTVERSION= 0.20
|
2001-01-04 00:00:06 +00:00
|
|
|
CATEGORIES= textproc perl5
|
|
|
|
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
|
|
|
|
MASTER_SITE_SUBDIR= XML
|
|
|
|
PKGNAMEPREFIX= p5-
|
|
|
|
|
2001-06-12 19:25:41 +00:00
|
|
|
MAINTAINER= tobez@FreeBSD.org
|
2003-03-07 06:14:21 +00:00
|
|
|
COMMENT= Perl module for down translation of XML to strings
|
2001-01-04 00:00:06 +00:00
|
|
|
|
|
|
|
BUILD_DEPENDS= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}/XML/Parser.pm:${PORTSDIR}/textproc/p5-XML-Parser
|
|
|
|
RUN_DEPENDS= ${BUILD_DEPENDS}
|
|
|
|
|
|
|
|
PERL_CONFIGURE= yes
|
|
|
|
|
|
|
|
MAN3= XML::DT.3
|
|
|
|
MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
|
|
|
|
|
|
|
|
post-install:
|
|
|
|
@${MKDIR} ${PREFIX}/lib/perl5/site_perl/${PERL_VER}/XML/DT/examples
|
|
|
|
@${MKDIR} ${PREFIX}/lib/perl5/site_perl/${PERL_VER}/XML/DT/examples/XPath
|
|
|
|
@${INSTALL_DATA} ${WRKSRC}/examples/XPath/* ${PREFIX}/lib/perl5/site_perl/${PERL_VER}/XML/DT/examples/XPath
|
|
|
|
@${INSTALL_DATA} `ls -d ${WRKSRC}/examples/* | ${GREP} -v XPath` ${PREFIX}/lib/perl5/site_perl/${PERL_VER}/XML/DT/examples
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|