Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 4 Jul 2014 09:23:09 +0000 (UTC)
From:      Rodrigo Osorio <rodrigo@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r360584 - head/devel/tclxml
Message-ID:  <201407040923.s649N9oL040082@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: rodrigo
Date: Fri Jul  4 09:23:08 2014
New Revision: 360584
URL: http://svnweb.freebsd.org/changeset/ports/360584
QAT: https://qat.redports.org/buildarchive/r360584/

Log:
  - stagify the port
  - fix LIB_DEPENDS
  - add LICENSE and LICENSE_FILE
  
  Submitted by:	rodrigo
  Approved by:	bapt (mentor)

Modified:
  head/devel/tclxml/Makefile

Modified: head/devel/tclxml/Makefile
==============================================================================
--- head/devel/tclxml/Makefile	Fri Jul  4 09:17:47 2014	(r360583)
+++ head/devel/tclxml/Makefile	Fri Jul  4 09:23:08 2014	(r360584)
@@ -9,15 +9,17 @@ MASTER_SITES=	LOCAL/bf SF/tclxml/TclXML/
 MAINTAINER=	ports@FreeBSD.org
 COMMENT=	API for parsing XML documents using Tcl
 
-LIB_DEPENDS=	xslt:${PORTSDIR}/textproc/libxslt
+LICENSE=	BSD2CLAUSE
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+LIB_DEPENDS=	libxslt.so:${PORTSDIR}/textproc/libxslt
 RUN_DEPENDS?=	dtplite:${PORTSDIR}/devel/tcllib
 
 PORTDOCS=	README.xml html.xsl man.macros nroff.xsl tcldoc-1.0.dtd \
 		tcldom.html tcldom.xml tclxml.css tclxml.html tclxml.xml \
 		tclxslt.html tclxslt.xml transform.tcl txt.xsl
 
-USES=		tcl
-USE_XZ=		yes
+USES=		tcl tar:xz
 XML_CONFIG?=	${LOCALBASE}/bin/xml2-config
 GNU_CONFIGURE=	yes
 USE_LDCONFIG?=	${PREFIX}/lib/Tclxml${PORTVERSION}
@@ -25,22 +27,17 @@ CONFIGURE_ARGS=	--with-tcl=${TCL_LIBDIR}
 		XML_CONFIG="${XML_CONFIG}"
 PLIST_SUB=	VER=${PORTVERSION}
 
-NO_STAGE=	yes
-
 OPTIONS_DEFINE=	DOCS
-
-.include <bsd.port.options.mk>
+MAKE_ENV+=	TCLLIBPATH=${STAGEDIR}/usr/local/lib
 
 post-patch:
 	@${REINPLACE_CMD} -e '/^TCLSH_ENV[[:blank:]]*=/,/[^\]$$/d' \
 	${WRKSRC}/Makefile.in
 
-.if ${PORT_OPTIONS:MDOCS}
 post-install:
 	@cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_ARGS} doc
-	@${MKDIR} ${DOCSDIR}
-	@cd ${WRKSRC}/doc && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}
-.endif
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
+	@cd ${WRKSRC}/doc && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}
 
 check test: install
 	@cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_ARGS} test



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