mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-05 01:55:52 +00:00
b4235e84be
- Pass maintainership to submitter PR: ports/104070 Submitted by: Thomas Abthorpe <thomas(at)goodking.ca>
50 lines
1.8 KiB
Makefile
50 lines
1.8 KiB
Makefile
# Ports collection makefile for: pear-XML_Serializer
|
|
# Date created: 04 September 2003
|
|
# Whom: Alex Miller (<asm@asm.kiev.ua>)
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= XML_Serializer
|
|
PORTVERSION= 0.18.0
|
|
CATEGORIES= devel www pear
|
|
|
|
MAINTAINER= thomas@goodking.ca
|
|
COMMENT= PEAR Swiss-army knive for reading and writing XML files
|
|
|
|
BUILD_DEPENDS= ${PEARDIR}/XML/Parser.php:${PORTSDIR}/devel/pear-XML_Parser \
|
|
${PEARDIR}/XML/Util.php:${PORTSDIR}/devel/pear-XML_Util
|
|
RUN_DEPENDS= ${BUILD_DEPENDS}
|
|
|
|
CATEGORY= XML
|
|
FILES= Serializer.php Unserializer.php
|
|
EXAMPLES= example.xml serializeAndEncode.php serializeAndReturn.php \
|
|
serializeArrayWithObjects.php serializeCData.php \
|
|
serializeEmptyArray.php serializeIndexedArray.php \
|
|
serializeIndexedArrayWithContext.php serializeNullProperties.php \
|
|
serializeObject.php serializeRDF.php serializeSelectiveAttributes.php \
|
|
serializeWithAttributes.php serializeWithAttributes2.php \
|
|
serializeWithComment.php serializeWithDtd.php \
|
|
serializeWithIndentedAttributes.php serializeWithNamespace.php \
|
|
serializeWithTagMap.php unserializeAnyXML.php \
|
|
unserializeClassNames.php unserializeEncoded.php \
|
|
unserializeEnum.php unserializeObject.php unserializeRDF.php \
|
|
unserializeWhitespace.php unserializeWithAttributes.php \
|
|
unserializeWithTagMap.php unserializeWithTypeGuessing.php
|
|
DOCS= todo.txt
|
|
_DOCSDIR= doc
|
|
|
|
post-extract:
|
|
.for file in ${FILES}
|
|
@${REINPLACE_CMD} -e "s|@package_version@|${PORTVERSION}|" ${WRKSRC}/${file}
|
|
@${FIND} ${WRKSRC} -name "*.bak" -delete
|
|
.endfor
|
|
.for file in ${EXAMPLES}
|
|
@${REINPLACE_CMD} -e "s|@package_version@|${PORTVERSION}|" ${WRKSRC}/examples/${file}
|
|
@${FIND} ${WRKSRC}/examples -name "*.bak" -delete
|
|
.endfor
|
|
|
|
.include <bsd.port.pre.mk>
|
|
.include "${PORTSDIR}/devel/pear/bsd.pear.mk"
|
|
.include <bsd.port.post.mk>
|