Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 22 Sep 2019 04:29:46 +0000 (UTC)
From:      Tobias Kortkamp <tobik@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r512551 - in head/textproc/mxml: . files
Message-ID:  <201909220429.x8M4TkfM016950@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: tobik
Date: Sun Sep 22 04:29:46 2019
New Revision: 512551
URL: https://svnweb.freebsd.org/changeset/ports/512551

Log:
  textproc/mxml: Update to 3.1
  
  - Take maintainership
  
  Changes:	https://github.com/michaelrsweet/mxml/releases
  PR:		240422
  Approved by:	hsmtkk@gmail.com (maintainer timeout, 14 days)

Added:
  head/textproc/mxml/pkg-plist   (contents, props changed)
Deleted:
  head/textproc/mxml/files/
Modified:
  head/textproc/mxml/Makefile
  head/textproc/mxml/distinfo

Modified: head/textproc/mxml/Makefile
==============================================================================
--- head/textproc/mxml/Makefile	Sun Sep 22 04:26:39 2019	(r512550)
+++ head/textproc/mxml/Makefile	Sun Sep 22 04:29:46 2019	(r512551)
@@ -2,39 +2,28 @@
 # $FreeBSD$
 
 PORTNAME=	mxml
-PORTVERSION=	2.7
-PORTREVISION=	1
+DISTVERSION=	3.1
 CATEGORIES=	textproc
-MASTER_SITES=	http://www.msweet.org/files/project3/
+MASTER_SITES=	https://github.com/michaelrsweet/mxml/releases/download/v${DISTVERSION}/
 
-MAINTAINER=	hsmtkk@gmail.com
+MAINTAINER=	tobik@FreeBSD.org
 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
+LICENSE=	APACHE20
+LICENSE_FILE=	${WRKSRC}/LICENSE
 
-GNU_CONFIGURE=	yes
-USES=		pathfix desthack
-CONFIGURE_ARGS=	--with-docdir=no
+USES=		desthack
 USE_LDCONFIG=	yes
 
-PORTDOCS=	*
+GNU_CONFIGURE=	yes
+MAKE_ARGS=	INSTALL_DATA="${INSTALL_DATA}" \
+		INSTALL_LIB="${INSTALL_LIB}" \
+		INSTALL_MAN="${INSTALL_MAN}"
 
-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 \
-		man/man1/mxmldoc.1.gz \
-		man/man3/mxml.3.gz
-
 OPTIONS_DEFINE=	DOCS
 
-.include <bsd.port.options.mk>
-
-post-install:
-	@${MKDIR} ${STAGEDIR}${DOCSDIR}
-	(cd ${WRKSRC}/doc && ${COPYTREE_SHARE} \* ${STAGEDIR}${DOCSDIR})
+post-patch:
+	@${REINPLACE_CMD} -e '/^\.SILENT/d' -e '/(INSTALL_LIB) libmxml.a/ s/_LIB/_DATA/' \
+		${WRKSRC}/Makefile.in
 
 .include <bsd.port.mk>

Modified: head/textproc/mxml/distinfo
==============================================================================
--- head/textproc/mxml/distinfo	Sun Sep 22 04:26:39 2019	(r512550)
+++ head/textproc/mxml/distinfo	Sun Sep 22 04:29:46 2019	(r512551)
@@ -1,2 +1,3 @@
-SHA256 (mxml-2.7.tar.gz) = a77200ee4c1e1cf2eb531595ec17ce31805760699d260915496c39d3388eb803
-SIZE (mxml-2.7.tar.gz) = 262027
+TIMESTAMP = 1567960906
+SHA256 (mxml-3.1.tar.gz) = 1ac8d252f62f9dc2b2004518c70d2da313bdfcd92b8350e215f46064a34b52fc
+SIZE (mxml-3.1.tar.gz) = 9268821

Added: head/textproc/mxml/pkg-plist
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/textproc/mxml/pkg-plist	Sun Sep 22 04:29:46 2019	(r512551)
@@ -0,0 +1,14 @@
+include/mxml.h
+lib/libmxml.a
+lib/libmxml.so
+lib/libmxml.so.1
+lib/libmxml.so.1.6
+libdata/pkgconfig/mxml.pc
+man/man3/mxml.3.gz
+%%PORTDOCS%%%%DOCSDIR%%/CHANGES
+@comment %%PORTDOCS%%%%DOCSDIR%%/LICENSE
+%%PORTDOCS%%%%DOCSDIR%%/NOTICE
+%%PORTDOCS%%%%DOCSDIR%%/README
+%%PORTDOCS%%%%DOCSDIR%%/mxml-cover.png
+%%PORTDOCS%%%%DOCSDIR%%/mxml.epub
+%%PORTDOCS%%%%DOCSDIR%%/mxml.html



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201909220429.x8M4TkfM016950>