2003-09-08 04:30:58 +02:00
|
|
|
# Ports collection makefile for: pear-XML_Serializer
|
|
|
|
# Date created: 04 September 2003
|
|
|
|
# Whom: Alex Miller (<asm@asm.kiev.ua>)
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= XML_Serializer
|
2009-06-15 17:05:43 +02:00
|
|
|
PORTVERSION= 0.20.0
|
2003-11-13 00:46:19 +01:00
|
|
|
CATEGORIES= devel www pear
|
2003-09-08 04:30:58 +02:00
|
|
|
|
2009-12-01 22:46:50 +01:00
|
|
|
MAINTAINER= miwi@FreeBSD.org
|
2003-09-08 04:30:58 +02:00
|
|
|
COMMENT= PEAR Swiss-army knive for reading and writing XML files
|
|
|
|
|
2004-07-03 13:51:09 +02:00
|
|
|
BUILD_DEPENDS= ${PEARDIR}/XML/Parser.php:${PORTSDIR}/devel/pear-XML_Parser \
|
2003-09-08 04:30:58 +02:00
|
|
|
${PEARDIR}/XML/Util.php:${PORTSDIR}/devel/pear-XML_Util
|
2004-07-03 13:51:09 +02:00
|
|
|
RUN_DEPENDS= ${BUILD_DEPENDS}
|
2003-09-08 04:30:58 +02:00
|
|
|
|
2003-12-28 08:55:47 +01:00
|
|
|
CATEGORY= XML
|
|
|
|
FILES= Serializer.php Unserializer.php
|
2009-06-15 17:05:43 +02:00
|
|
|
EXAMPLES= example.xml serializeAndEncode.php \
|
|
|
|
serializeAndReturn.php serializeCData.php \
|
|
|
|
serializeIndexedArray.php \
|
|
|
|
serializeIndexedArrayWithContext.php \
|
|
|
|
serializeNullProperties.php serializeObject.php \
|
|
|
|
serializeRDF.php Serializer_Bug7112.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
|
|
|
|
TESTS= req-13564.phpt bug-13896.phpt bug-15602.phpt \
|
|
|
|
Serializer_Arrays_TestCase.php \
|
|
|
|
Serializer_Objects_TestCase.php \
|
|
|
|
Serializer_Option_AttributesContent_TestCase.php \
|
|
|
|
Serializer_Option_CDataSections_TestCase.php \
|
|
|
|
Serializer_Option_ClassName_TestCase.php \
|
|
|
|
Serializer_Option_Comment_TestCase.php \
|
|
|
|
Serializer_Option_DocType_TestCase.php \
|
|
|
|
Serializer_Option_DefaultTag_TestCase.php \
|
|
|
|
Serializer_Option_EncodeFunc_TestCase.php \
|
|
|
|
Serializer_Option_IgnoreNull_TestCase.php \
|
|
|
|
Serializer_Option_Indent_TestCase.php \
|
|
|
|
Serializer_Option_Linebreaks_TestCase.php \
|
|
|
|
Serializer_Option_Mode_TestCase.php \
|
|
|
|
Serializer_Option_Namespace_TestCase.php \
|
|
|
|
Serializer_Option_ReturnResult_TestCase.php \
|
|
|
|
Serializer_Option_RootAttributes_TestCase.php \
|
|
|
|
Serializer_Option_RootName_TestCase.php \
|
|
|
|
Serializer_Option_TagMap_TestCase.php \
|
|
|
|
Serializer_Option_TypeHints_TestCase.php \
|
|
|
|
Serializer_Option_XmlDeclaration_TestCase.php \
|
|
|
|
Serializer_Scalars_TestCase.php \
|
|
|
|
show_ScalarAsAttributes_usage.phpt \
|
|
|
|
Unserializer_Arrays_TestCase.php \
|
|
|
|
Unserializer_Objects_TestCase.php \
|
|
|
|
Unserializer_Option_Encodings_TestCase.php \
|
|
|
|
Unserializer_Option_GuessTypes_TestCase.php \
|
|
|
|
Unserializer_Option_Whitespace_TestCase.php \
|
|
|
|
Unserializer_Scalars_TestCase.php
|
2004-04-10 00:04:18 +02:00
|
|
|
DOCS= todo.txt
|
|
|
|
_DOCSDIR= doc
|
2003-09-08 04:30:58 +02:00
|
|
|
|
2005-06-07 15:22:54 +02:00
|
|
|
post-extract:
|
|
|
|
.for file in ${FILES}
|
|
|
|
@${REINPLACE_CMD} -e "s|@package_version@|${PORTVERSION}|" ${WRKSRC}/${file}
|
2006-09-12 11:04:30 +02:00
|
|
|
@${FIND} ${WRKSRC} -name "*.bak" -delete
|
2005-06-07 15:22:54 +02:00
|
|
|
.endfor
|
|
|
|
.for file in ${EXAMPLES}
|
|
|
|
@${REINPLACE_CMD} -e "s|@package_version@|${PORTVERSION}|" ${WRKSRC}/examples/${file}
|
2006-09-12 11:04:30 +02:00
|
|
|
@${FIND} ${WRKSRC}/examples -name "*.bak" -delete
|
2005-06-07 15:22:54 +02:00
|
|
|
.endfor
|
|
|
|
|
2003-12-28 08:55:47 +01:00
|
|
|
.include <bsd.port.pre.mk>
|
2005-12-09 20:24:52 +01:00
|
|
|
.include "${PORTSDIR}/devel/pear/bsd.pear.mk"
|
2003-09-08 04:30:58 +02:00
|
|
|
.include <bsd.port.post.mk>
|