aboutsummaryrefslogtreecommitdiff
path: root/mail/pear-MIME_Type
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2008-07-27 20:16:20 +0000
committerMartin Wilke <miwi@FreeBSD.org>2008-07-27 20:16:20 +0000
commita5261c7932bb10da5b805c23d7331027c56db278 (patch)
tree5dcad4a3ffd7200ef90d673ffc4cc83d5f96a80f /mail/pear-MIME_Type
parent80d5214bf26de5f3b2e3db9661109f5d3aa3fcb3 (diff)
downloadports-a5261c7932bb10da5b805c23d7331027c56db278.tar.gz
ports-a5261c7932bb10da5b805c23d7331027c56db278.zip
- Update to 1.1.1
- Take over maintainership PR: 125942 Submitted by: Wen heping <wenheping@gmail.com>
Notes
Notes: svn path=/head/; revision=217697
Diffstat (limited to 'mail/pear-MIME_Type')
-rw-r--r--mail/pear-MIME_Type/Makefile21
-rw-r--r--mail/pear-MIME_Type/distinfo6
2 files changed, 8 insertions, 19 deletions
diff --git a/mail/pear-MIME_Type/Makefile b/mail/pear-MIME_Type/Makefile
index 44917892d8bb..9533b28ce559 100644
--- a/mail/pear-MIME_Type/Makefile
+++ b/mail/pear-MIME_Type/Makefile
@@ -6,10 +6,10 @@
#
PORTNAME= MIME_Type
-PORTVERSION= 1.0.0
+PORTVERSION= 1.1.1
CATEGORIES= mail www pear
-MAINTAINER= ports@FreeBSD.org
+MAINTAINER= miwi@FreeBSD.org
COMMENT= PEAR class for dealing with MIME types
BUILD_DEPENDS= ${PEARDIR}/PEAR.php:${PORTSDIR}/devel/pear
@@ -19,13 +19,10 @@ LATEST_LINK= pear-${PORTNAME}
OPTIONS= PEAR_SYSTEM_COMMAND "PEAR::System_Command support" off
CATEGORY= MIME
-FILES= Type.php Type/Parameter.php
+FILES= MIME/Type.php MIME/Type/Parameter.php
EXAMPLES= example.php
-_EXAMPLESDIR= .
-
-post-extract:
- @${MKDIR} ${WRKSRC}/Type
- @${MV} ${WRKSRC}/Parameter.php ${WRKSRC}/Type
+_EXAMPLESDIR= docs/examples/
+TESTS= TypeTest.php
.include <bsd.port.pre.mk>
@@ -34,12 +31,4 @@ RUN_DEPENDS+= ${PEARDIR}/System/Command.php:${PORTSDIR}/devel/pear-System_Comman
.endif
.include "${PORTSDIR}/devel/pear/bsd.pear.mk"
-
-post-patch:
-.for file in ${FILES}
- @${REINPLACE_CMD} -e "s|@version@|${PORTVERSION}|" ${WRKSRC}/${file}
- @${REINPLACE_CMD} -e "s|@package@|${PORTNAME}|" ${WRKSRC}/${file}
-.endfor
- @${REINPLACE_CMD} -e "s|@doc_dir@|${EXAMPLESDIR}|" ${WRKSRC}/${EXAMPLES}
-
.include <bsd.port.post.mk>
diff --git a/mail/pear-MIME_Type/distinfo b/mail/pear-MIME_Type/distinfo
index 7675935e6161..ba00a11a3624 100644
--- a/mail/pear-MIME_Type/distinfo
+++ b/mail/pear-MIME_Type/distinfo
@@ -1,3 +1,3 @@
-MD5 (PEAR/MIME_Type-1.0.0.tgz) = dc2d377a121c6410d5f5c46e8ec32c03
-SHA256 (PEAR/MIME_Type-1.0.0.tgz) = 1eb67b8e46992f72f312113787dd99c5ebe6d9eacc7641c6983fc82ac108f229
-SIZE (PEAR/MIME_Type-1.0.0.tgz) = 4404
+MD5 (PEAR/MIME_Type-1.1.1.tgz) = d42d13f514f6e1daf148703540fc3bec
+SHA256 (PEAR/MIME_Type-1.1.1.tgz) = be8b6516635ad38667b5e91fb79c8a232d061fb4505980cd22d3594d6eb1e860
+SIZE (PEAR/MIME_Type-1.1.1.tgz) = 6631