Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 20 Dec 2014 18:15:52 +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: r375056 - head/textproc/xerces-c3
Message-ID:  <201412201815.sBKIFqDo060734@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: sunpoet
Date: Sat Dec 20 18:15:51 2014
New Revision: 375056
URL: https://svnweb.freebsd.org/changeset/ports/375056
QAT: https://qat.redports.org/buildarchive/r375056/

Log:
  - Add LICENSE
  - Strip shared library
  - Use PKGNAMESUFFIX
  - Simplify MASTER_SITES
  - Use MAKE_CMD
  - Bump PORTREVISION for package change
  - Sort PLIST
  - Take maintainership

Modified:
  head/textproc/xerces-c3/Makefile
  head/textproc/xerces-c3/pkg-plist

Modified: head/textproc/xerces-c3/Makefile
==============================================================================
--- head/textproc/xerces-c3/Makefile	Sat Dec 20 18:15:46 2014	(r375055)
+++ head/textproc/xerces-c3/Makefile	Sat Dec 20 18:15:51 2014	(r375056)
@@ -1,31 +1,35 @@
 # Created by: gahr
 # $FreeBSD$
 
-PORTNAME=	xerces-c3
+PORTNAME=	xerces-c
 PORTVERSION=	3.1.1
-PORTREVISION=	3
+PORTREVISION=	4
 CATEGORIES=	textproc
-MASTER_SITES=	${MASTER_SITE_APACHE}
-MASTER_SITE_SUBDIR=	xerces/c/3/sources
-DISTNAME=	xerces-c-${PORTVERSION}
+MASTER_SITES=	APACHE/xerces/c/3/sources
+PKGNAMESUFFIX=	3
 
-MAINTAINER=	ports@FreeBSD.org
+MAINTAINER=	sunpoet@FreeBSD.org
 COMMENT=	Validating XML parser from the Apache XML Project
 
-CONFLICTS=	xerces-c2-[0-9]* xerces-c2-devel-[0-9]*
+LICENSE=	APACHE20
 
-USES=		gmake pathfix libtool
-USE_LDCONFIG=	yes
-GNU_CONFIGURE=	yes
-CONFIGURE_ARGS+=--with-pkgconfigdir=${PREFIX}/libdata/pkgconfig \
+CONFLICTS_INSTALL=	xerces-c2-[0-9]* xerces-c2-devel-[0-9]*
+
+CONFIGURE_ARGS=	--enable-netaccessor-socket \
 		--enable-transcoder-iconv \
-		--enable-netaccessor-socket
-MAKE_ENV+=	XERCESCROOT=${WRKSRC}
+		--with-pkgconfigdir=${PREFIX}/libdata/pkgconfig
+GNU_CONFIGURE=	yes
+INSTALL_TARGET=	install-strip
+MAKE_ENV=	XERCESCROOT=${WRKSRC}
+USE_LDCONFIG=	yes
+USES=		gmake libtool pathfix
+
+PLIST_SUB=	MAJOR_VER=${PORTVERSION:R}
 
 post-install:
-	${LN} -sf libxerces-c-${PORTVERSION:R}.so ${STAGEDIR}${PREFIX}/lib/libxerces-c.so.${PORTVERSION:R:R}
+	${LN} -s libxerces-c-${PORTVERSION:R}.so ${STAGEDIR}${PREFIX}/lib/libxerces-c.so.${PORTVERSION:R:R}
 
-test:
-	cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE} check
+regression-test test: build
+	cd ${WRKSRC}/ && ${SETENV} ${MAKE_ENV} ${MAKE_CMD} check
 
 .include <bsd.port.mk>

Modified: head/textproc/xerces-c3/pkg-plist
==============================================================================
--- head/textproc/xerces-c3/pkg-plist	Sat Dec 20 18:15:46 2014	(r375055)
+++ head/textproc/xerces-c3/pkg-plist	Sat Dec 20 18:15:51 2014	(r375056)
@@ -14,11 +14,6 @@ bin/SCMPrint
 bin/SEnumVal
 bin/StdInParse
 bin/XInclude
-libdata/pkgconfig/xerces-c.pc
-lib/libxerces-c-3.1.so
-lib/libxerces-c.so.3
-lib/libxerces-c.so
-lib/libxerces-c.a
 include/xercesc/dom/DOM.hpp
 include/xercesc/dom/DOMAttr.hpp
 include/xercesc/dom/DOMCDATASection.hpp
@@ -487,3 +482,8 @@ include/xercesc/validators/schema/identi
 include/xercesc/xinclude/XIncludeDOMDocumentProcessor.hpp
 include/xercesc/xinclude/XIncludeLocation.hpp
 include/xercesc/xinclude/XIncludeUtils.hpp
+lib/libxerces-c-%%MAJOR_VER%%.so
+lib/libxerces-c.a
+lib/libxerces-c.so
+lib/libxerces-c.so.3
+libdata/pkgconfig/xerces-c.pc



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