Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 27 Feb 2020 21:26:41 +0000 (UTC)
From:      Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r527303 - head/converters/xml2c
Message-ID:  <202002272126.01RLQfmh006577@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: sunpoet
Date: Thu Feb 27 21:26:41 2020
New Revision: 527303
URL: https://svnweb.freebsd.org/changeset/ports/527303

Log:
  Reset maintainership
  
  - While I'm here:
    - Update MASTER_SITES
    - Clean up Makefile
    - Update manpage location (r523104)
    - Update pkg-descr
    - Update WWW
    - Take maintainership
  
  PR:		244451
  Submitted by:	Neel Chauhan <neel@neelc.org> (maintainer)

Modified:
  head/converters/xml2c/Makefile
  head/converters/xml2c/pkg-descr

Modified: head/converters/xml2c/Makefile
==============================================================================
--- head/converters/xml2c/Makefile	Thu Feb 27 21:26:36 2020	(r527302)
+++ head/converters/xml2c/Makefile	Thu Feb 27 21:26:41 2020	(r527303)
@@ -3,25 +3,24 @@
 PORTNAME=	xml2c
 PORTVERSION=	20151019
 CATEGORIES=	converters
-MASTER_SITES=	http://acme.com/software/xml2c/
+MASTER_SITES=	https://acme.com/software/xml2c/
 DISTNAME=	${PORTNAME}_19Oct2015
 
-MAINTAINER=	neel@neelc.org
-COMMENT=	Reads in an XML file and produces equivalent C source code
+MAINTAINER=	sunpoet@FreeBSD.org
+COMMENT=	Convert an XML file into C struct/string declarations
 
 LICENSE=	BSD2CLAUSE
 
 USES=		gnome
 USE_GNOME=	libxml2
 
-WRKSRC=		${WRKDIR}/${PORTNAME}
-PLIST_FILES=	bin/xml2c man/man1/xml2c.1.gz
+WRKSRC=		${WRKDIR}/xml2c
 
-#MAKEFILE=	/dev/null
-ALL_TARGET=	${PORTNAME}
+PLIST_FILES=	bin/xml2c \
+		share/man/man1/xml2c.1.gz
 
 do-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/xml2c ${STAGEDIR}${PREFIX}/bin
-	${INSTALL_MAN} ${WRKSRC}/xml2c.1 ${STAGEDIR}${MAN1PREFIX}/man/man1/xml2c.1
+	${INSTALL_MAN} ${WRKSRC}/xml2c.1 ${STAGEDIR}${MAN1PREFIX}/share/man/man1/xml2c.1
 
 .include <bsd.port.mk>

Modified: head/converters/xml2c/pkg-descr
==============================================================================
--- head/converters/xml2c/pkg-descr	Thu Feb 27 21:26:36 2020	(r527302)
+++ head/converters/xml2c/pkg-descr	Thu Feb 27 21:26:41 2020	(r527303)
@@ -1,4 +1,8 @@
-xml2c reads in an XML file and produces equivalent C source code,
-suitable for #including in your program.
+xml2c reads in an XML file and produces equivalent C source code, suitable for
+#including in your program. The C version is probably easier deal with in your
+code. You don't have to read and parse the XML file and then look for the nodes
+you want; instead you just loop through a bunch of structs. Or maybe you just
+don't want to distribute extra files with your app, and would rather build them
+into the executable.
 
-WWW: http://www.acme.com/software/xml2c/
+WWW: https://acme.com/software/xml2c/



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