2004-06-26 03:35:05 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.15 2004/06/26 07:35:10 xsa Exp $
|
2001-01-25 20:01:38 -05:00
|
|
|
|
2001-04-09 19:25:30 -04:00
|
|
|
COMMENT= "modules for parsing and evaluating XPath statements"
|
|
|
|
|
2003-07-04 02:15:21 -04:00
|
|
|
DISTNAME= XML-XPath-1.13
|
2001-01-25 20:01:38 -05:00
|
|
|
PKGNAME= p5-${DISTNAME}
|
|
|
|
CATEGORIES= textproc perl5
|
2002-07-11 13:37:33 -04:00
|
|
|
|
2002-05-14 08:07:09 -04:00
|
|
|
MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=XML/}
|
2001-01-25 20:01:38 -05:00
|
|
|
|
2004-06-26 03:35:05 -04:00
|
|
|
RUN_DEPENDS= :p5-XML-Parser->=2.23:textproc/p5-XML-Parser
|
|
|
|
BUILD_DEPENDS= ${RUN_DEPENDS}
|
2001-01-25 20:01:38 -05:00
|
|
|
|
2003-11-15 10:12:53 -05:00
|
|
|
# GPL/Artistic
|
2001-01-25 20:01:38 -05:00
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
|
|
|
|
CONFIGURE_STYLE= perl
|
|
|
|
|
2002-07-11 13:37:33 -04:00
|
|
|
DOCDIR= ${PREFIX}/share/examples/p5-XML-XPath
|
|
|
|
SRCDOCDIR= ${WRKSRC}/examples
|
|
|
|
|
|
|
|
post-install:
|
|
|
|
${INSTALL_DATA_DIR} ${DOCDIR}
|
|
|
|
${INSTALL_SCRIPT} ${SRCDOCDIR}/xpath ${DOCDIR}/
|
|
|
|
${INSTALL_DATA} ${SRCDOCDIR}/*.xml ${DOCDIR}/
|
|
|
|
|
2001-01-25 20:01:38 -05:00
|
|
|
.include <bsd.port.mk>
|