2003-07-04 02:15:21 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.13 2003/07/04 06:15:21 kevlo 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
|
|
|
|
2002-06-09 01:31:40 -04:00
|
|
|
BUILD_DEPENDS= :p5-XML-Parser->=2.23:textproc/p5-XML-Parser
|
2001-01-25 20:01:38 -05:00
|
|
|
RUN_DEPENDS= ${BUILD_DEPENDS}
|
|
|
|
|
|
|
|
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>
|