mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-04 01:48:54 +00:00
44 lines
1008 B
Makefile
44 lines
1008 B
Makefile
# Created by: Sergey Skvortsov <skv@protey.ru>
|
|
|
|
PORTNAME= XML-STX
|
|
PORTVERSION= 0.43
|
|
PORTREVISION= 2
|
|
CATEGORIES= textproc perl5
|
|
MASTER_SITES= CPAN
|
|
PKGNAMEPREFIX= p5-
|
|
|
|
MAINTAINER= perl@FreeBSD.org
|
|
COMMENT= Pure Perl STX processor
|
|
|
|
LICENSE= ART10 GPLv1+
|
|
LICENSE_COMB= dual
|
|
|
|
BUILD_DEPENDS= ${RUN_DEPENDS}
|
|
RUN_DEPENDS= p5-Clone>=0:devel/p5-Clone \
|
|
p5-XML-NamespaceSupport>=0:textproc/p5-XML-NamespaceSupport \
|
|
p5-XML-SAX>=0:textproc/p5-XML-SAX
|
|
|
|
USES= perl5 shebangfix
|
|
USE_PERL5= configure
|
|
NO_ARCH= yes
|
|
SHEBANG_GLOB= *.pl
|
|
|
|
OPTIONS_DEFINE= DOCS EXAMPLES
|
|
|
|
post-extract:
|
|
@${MKDIR} ${WRKSRC}/scripts
|
|
@${MV} ${WRKSRC}/*.pl ${WRKSRC}/scripts
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e '/EXE_FILES/ s|\([[:alpha:]]*\.pl\)|scripts/&|g' ${WRKSRC}/Makefile.PL
|
|
|
|
post-install-DOCS-on:
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/doc/* ${STAGEDIR}${DOCSDIR}
|
|
|
|
post-install-EXAMPLES-on:
|
|
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
|
|
${INSTALL_SCRIPT} ${WRKSRC}/examples/* ${STAGEDIR}${EXAMPLESDIR}
|
|
|
|
.include <bsd.port.mk>
|