Bug 175315 - [PATCH] textproc/mxml: update to 2.7
Summary: [PATCH] textproc/mxml: update to 2.7
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Steve Wills
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-01-15 06:00 UTC by Po-Chien Lin
Modified: 2013-02-16 15:32 UTC (History)
1 user (show)

See Also:


Attachments
mxml-2.7.patch (3.24 KB, patch)
2013-01-15 06:00 UTC, Po-Chien Lin
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Po-Chien Lin 2013-01-15 06:00:00 UTC
- Update to 2.7
- Add custom LICENSE MXML
- Add USE_LDCONFIG to include new shared library
- Switch to OptionsNG
- Change DOCS installing hierarchy from ${DOCSDIR}/doc/ to ${DOCSDIR}/
- Remove unused patch (have been merged into upstream)
- Cleanup TAB in pkg-descr

Removed file(s):
- files/patch-mxmldoc.c
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2013-01-15 06:00:09 UTC
Responsible Changed
From-To: freebsd-ports-bugs->swills

swills@ wants this submitter's PRs (via the GNATS Auto Assign Tool)
Comment 2 Edwin Groothuis freebsd_committer freebsd_triage 2013-01-15 06:00:10 UTC
Maintainer of textproc/mxml,

Please note that PR ports/175315 has just been submitted.

If it contains a patch for an upgrade, an enhancement or a bug fix
you agree on, reply to this email stating that you approve the patch
and a committer will take care of it.

The full text of the PR can be found at:
    http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/175315

-- 
Edwin Groothuis via the GNATS Auto Assign Tool
edwin@FreeBSD.org
Comment 3 Edwin Groothuis freebsd_committer freebsd_triage 2013-01-15 06:00:11 UTC
State Changed
From-To: open->feedback

Awaiting maintainers feedback (via the GNATS Auto Assign Tool)
Comment 4 dfilter service freebsd_committer freebsd_triage 2013-02-16 15:29:17 UTC
Author: pclin
Date: Sat Feb 16 15:29:01 2013
New Revision: 312362
URL: http://svnweb.freebsd.org/changeset/ports/312362

Log:
  - Update to 2.7
  - Add custom LICENSE MXML
  - Add USE_LDCONFIG to include new shared library
  - Switch to OPTIONSng
  - Change DOCS installing hierarchy from ${DOCSDIR}/doc/ to ${DOCSDIR}/
  - Remove unnecessary patch (have been merged into upstream)
  - Replace TAB with space in pkg-descr WWW: line
  
  PR:		ports/175315
  Submitted by:	Po-Chien Lin <linpc@cs.nctu.edu.tw>
  Approved by:	swills (mentor)

Deleted:
  head/textproc/mxml/files/patch-mxmldoc.c
Modified:
  head/textproc/mxml/Makefile   (contents, props changed)
  head/textproc/mxml/distinfo   (contents, props changed)
  head/textproc/mxml/files/patch-libtool22   (contents, props changed)
  head/textproc/mxml/pkg-descr   (contents, props changed)

Modified: head/textproc/mxml/Makefile
==============================================================================
--- head/textproc/mxml/Makefile	Sat Feb 16 15:20:02 2013	(r312361)
+++ head/textproc/mxml/Makefile	Sat Feb 16 15:29:01 2013	(r312362)
@@ -1,12 +1,8 @@
-# New ports collection makefile for:	mxml
-# Date created:		2007-10-12
-# Whom:			Martin Wilke <miwi@FreeBSD.org>
-#
+# Created by: Martin Wilke <miwi@FreeBSD.org>
 # $FreeBSD$
-#
 
 PORTNAME=	mxml
-PORTVERSION=	2.6
+PORTVERSION=	2.7
 CATEGORIES=	textproc
 MASTER_SITES=	${MASTER_SITE_EASYSW}
 MASTER_SITE_SUBDIR=	mxml/${PORTVERSION}
@@ -14,12 +10,18 @@ MASTER_SITE_SUBDIR=	mxml/${PORTVERSION}
 MAINTAINER=	hsmtkk@gmail.com
 COMMENT=	Small XML parsing library
 
+LICENSE=	MXML
+LICENSE_NAME=	Mini-XML License
+LICENSE_FILE=	${WRKSRC}/COPYING
+LICENSE_PERMS=	dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
+
 GNU_CONFIGURE=	yes
 USE_GMAKE=	yes
 USE_AUTOTOOLS=	libtool
 USE_GNOME=	gnomehack
 CONFIGURE_ARGS=	--with-docdir=no
 MAKE_JOBS_SAFE=	yes
+USE_LDCONFIG=	yes
 
 MAN1=	mxmldoc.1
 MAN3=	mxml.3
@@ -28,12 +30,15 @@ PORTDOCS=	*
 
 PLIST_FILES=	bin/mxmldoc include/mxml.h \
 		lib/libmxml.a \
+		lib/libmxml.so lib/libmxml.so.1 lib/libmxml.so.1.5 \
 		libdata/pkgconfig/mxml.pc
 
+.include <bsd.port.options.mk>
+
 post-install:
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
 	@${MKDIR} ${DOCSDIR}
-	@${CP} -R ${PORTDOCS:S,^,${WRKSRC}/doc,} ${DOCSDIR}
+	(cd ${WRKSRC}/doc && ${COPYTREE_SHARE} \* ${DOCSDIR})
 .endif
 
 .include <bsd.port.mk>

Modified: head/textproc/mxml/distinfo
==============================================================================
--- head/textproc/mxml/distinfo	Sat Feb 16 15:20:02 2013	(r312361)
+++ head/textproc/mxml/distinfo	Sat Feb 16 15:29:01 2013	(r312362)
@@ -1,2 +1,2 @@
-SHA256 (mxml-2.6.tar.gz) = b0d347da1a0d5a8c9e82f66087d55cfe499728dacae563740d7e733648c69795
-SIZE (mxml-2.6.tar.gz) = 254455
+SHA256 (mxml-2.7.tar.gz) = a77200ee4c1e1cf2eb531595ec17ce31805760699d260915496c39d3388eb803
+SIZE (mxml-2.7.tar.gz) = 262027

Modified: head/textproc/mxml/files/patch-libtool22
==============================================================================
--- head/textproc/mxml/files/patch-libtool22	Sat Feb 16 15:20:02 2013	(r312361)
+++ head/textproc/mxml/files/patch-libtool22	Sat Feb 16 15:29:01 2013	(r312362)
@@ -1,6 +1,6 @@
 --- Makefile.in.orig	2009-07-14 23:48:58.000000000 -0500
 +++ Makefile.in	2009-07-14 23:49:34.000000000 -0500
-@@ -59,10 +59,10 @@
+@@ -57,10 +57,10 @@
  # Install commands...
  #
  

Modified: head/textproc/mxml/pkg-descr
==============================================================================
--- head/textproc/mxml/pkg-descr	Sat Feb 16 15:20:02 2013	(r312361)
+++ head/textproc/mxml/pkg-descr	Sat Feb 16 15:29:01 2013	(r312362)
@@ -2,4 +2,4 @@ Mini-XML is a small XML parsing library 
 read XML and XML-like data files in your application without
 requiring large non-standard libraries.
 
-WWW:	http://www.minixml.org/
+WWW: http://www.minixml.org/
_______________________________________________
svn-ports-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
Comment 5 Po-Chien Lin freebsd_committer freebsd_triage 2013-02-16 15:32:10 UTC
State Changed
From-To: feedback->closed

Committed.  Thanks! (Approved by: swills (mentor))