aboutsummaryrefslogtreecommitdiffstats
path: root/devel/pear-XML_Serializer
diff options
context:
space:
mode:
authoredwin <edwin@FreeBSD.org>2003-12-28 15:55:47 +0800
committeredwin <edwin@FreeBSD.org>2003-12-28 15:55:47 +0800
commitd1c66c82a563be8eb2f4c7b6e96c75d3adb7eb1c (patch)
tree84003698ad2fd8363cbe0ecd528aef690cbacd97 /devel/pear-XML_Serializer
parente77dff7e6230eea7acc0d504c3c918517180e95a (diff)
downloadfreebsd-ports-gnome-d1c66c82a563be8eb2f4c7b6e96c75d3adb7eb1c.tar.gz
freebsd-ports-gnome-d1c66c82a563be8eb2f4c7b6e96c75d3adb7eb1c.tar.zst
freebsd-ports-gnome-d1c66c82a563be8eb2f4c7b6e96c75d3adb7eb1c.zip
[PATCH] simplify pear-* ports
These patches do the following things for PEAR ports: * devel-pear-PEAR-Makefile.common.patch - provides a do-install target and all that jazz in devel/pear-PEAR/Makefile.common - individual PEAR ports now just set a few variables: * pear-ports-Makefile.common-ng.patch contains changes for all pear-* ports including devel/pear-PEAR See http://smradoch.innuendo.cz/FreeBSD/ for complete description. Note: still missing are: devel/pear-HTML_Common devel/pear-I18N net/pear-Net_NNTP security/pear-Auth PR: ports/59213 Submitted by: Roman Neuhauser <neuhauser@bellavista.cz>
Diffstat (limited to 'devel/pear-XML_Serializer')
-rw-r--r--devel/pear-XML_Serializer/Makefile23
-rw-r--r--devel/pear-XML_Serializer/pkg-plist11
2 files changed, 7 insertions, 27 deletions
diff --git a/devel/pear-XML_Serializer/Makefile b/devel/pear-XML_Serializer/Makefile
index 599d70d56800..80fdb504d069 100644
--- a/devel/pear-XML_Serializer/Makefile
+++ b/devel/pear-XML_Serializer/Makefile
@@ -7,6 +7,7 @@
PORTNAME= XML_Serializer
PORTVERSION= 0.6
+PORTREVISION= 1
CATEGORIES= devel www pear
MAINTAINER= ports@FreeBSD.org
@@ -17,21 +18,11 @@ RUN_DEPENDS= ${BUILD_DEPENDS} \
${PEARDIR}/XML/Parser.php:${PORTSDIR}/devel/pear-XML_Parser \
${PEARDIR}/XML/Util.php:${PORTSDIR}/devel/pear-XML_Util
-.include <bsd.port.pre.mk>
-.include "${.CURDIR}/../../devel/pear-PEAR/Makefile.common"
-
-MANIFEST= Serializer.php Unserializer.php
-
-do-install:
- @${MKDIR} ${PEARDIR}/XML
-.for FILE in ${MANIFEST}
- @${CP} -p ${WRKSRC}/${FILE} ${PEARDIR}/XML
- @${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${PEARDIR}/XML/${FILE}
-.endfor
-.if !defined(NOPORTDOCS)
- @${MKDIR} ${DOCSDIR}
- @${CP} -Rp ${WRKSRC}/examples/* ${DOCSDIR}
- @${ECHO_MSG} "===> Examples installed in ${DOCSDIR}."
-.endif
+CATEGORY= XML
+FILES= Serializer.php Unserializer.php
+EXAMPLES= serializeObject.php serializeRDF.php unserializeAnyXML.php \
+ unserializeObject.php unserializeRDF.php
+.include <bsd.port.pre.mk>
+.include "${PORTSDIR}/devel/pear-PEAR/Makefile.common"
.include <bsd.port.post.mk>
diff --git a/devel/pear-XML_Serializer/pkg-plist b/devel/pear-XML_Serializer/pkg-plist
deleted file mode 100644
index 316932ce23ab..000000000000
--- a/devel/pear-XML_Serializer/pkg-plist
+++ /dev/null
@@ -1,11 +0,0 @@
-%%PEARDIR%%/XML/Serializer.php
-%%PEARDIR%%/XML/Unserializer.php
-%%PKGREGDIR%%/package.xml
-%%PORTDOCS%%%%PEARDIR%%/docs/XML_Serializer/serializeObject.php
-%%PORTDOCS%%%%PEARDIR%%/docs/XML_Serializer/serializeRDF.php
-%%PORTDOCS%%%%PEARDIR%%/docs/XML_Serializer/unserializeAnyXML.php
-%%PORTDOCS%%%%PEARDIR%%/docs/XML_Serializer/unserializeObject.php
-%%PORTDOCS%%%%PEARDIR%%/docs/XML_Serializer/unserializeRDF.php
-@unexec rmdir %D/%%PEARDIR%%/XML 2>/dev/null || true
-@dirrm %%PKGREGDIR%%
-%%PORTDOCS%%@dirrm %%PEARDIR%%/docs/XML_Serializer