1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-03 06:04:53 +00:00

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)
This commit is contained in:
Tobias Kortkamp 2019-09-22 04:29:46 +00:00
parent 7a1bd22321
commit 7055281891
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=512551
4 changed files with 30 additions and 41 deletions

View File

@ -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= *
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
GNU_CONFIGURE= yes
MAKE_ARGS= INSTALL_DATA="${INSTALL_DATA}" \
INSTALL_LIB="${INSTALL_LIB}" \
INSTALL_MAN="${INSTALL_MAN}"
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>

View File

@ -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

View File

@ -1,15 +0,0 @@
--- Makefile.in.orig 2009-07-14 23:48:58.000000000 -0500
+++ Makefile.in 2009-07-14 23:49:34.000000000 -0500
@@ -57,10 +57,10 @@
# Install commands...
#
-INSTALL_BIN = $(LIBTOOL) $(INSTALL) -m 755 -s
+INSTALL_BIN = $(INSTALL) -m 755 -s
INSTALL_DATA = $(INSTALL) -m 644
INSTALL_DIR = $(INSTALL) -d
-INSTALL_LIB = $(LIBTOOL) $(INSTALL) -m 755
+INSTALL_LIB = $(INSTALL) -m 755 -s
INSTALL_MAN = $(INSTALL) -m 644
INSTALL_SCRIPT = $(INSTALL) -m 755

14
textproc/mxml/pkg-plist Normal file
View File

@ -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