From owner-svn-ports-head@freebsd.org Mon Apr 18 07:45:04 2016 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id CDCB7B129C0; Mon, 18 Apr 2016 07:45:04 +0000 (UTC) (envelope-from gahr@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 9B41919E6; Mon, 18 Apr 2016 07:45:04 +0000 (UTC) (envelope-from gahr@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id u3I7j3OJ064501; Mon, 18 Apr 2016 07:45:03 GMT (envelope-from gahr@FreeBSD.org) Received: (from gahr@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u3I7j3SM064500; Mon, 18 Apr 2016 07:45:03 GMT (envelope-from gahr@FreeBSD.org) Message-Id: <201604180745.u3I7j3SM064500@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: gahr set sender to gahr@FreeBSD.org using -f From: Pietro Cerutti Date: Mon, 18 Apr 2016 07:45:03 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r413558 - head/devel/tclxml X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 18 Apr 2016 07:45:04 -0000 Author: gahr Date: Mon Apr 18 07:45:03 2016 New Revision: 413558 URL: https://svnweb.freebsd.org/changeset/ports/413558 Log: devel/tclxml: respect PREFIX and DOCS [1], use TEST_TARGET PR: 208874 [1] Submitted by: mi [1] Modified: head/devel/tclxml/Makefile Modified: head/devel/tclxml/Makefile ============================================================================== --- head/devel/tclxml/Makefile Mon Apr 18 07:32:02 2016 (r413557) +++ head/devel/tclxml/Makefile Mon Apr 18 07:45:03 2016 (r413558) @@ -23,12 +23,16 @@ USES= tcl tar:xz XML_CONFIG?= ${LOCALBASE}/bin/xml2-config GNU_CONFIGURE= yes USE_LDCONFIG?= ${PREFIX}/lib/Tclxml${PORTVERSION} -CONFIGURE_ARGS= --with-tcl=${TCL_LIBDIR} \ +CONFIGURE_ARGS= --prefix=${PREFIX} \ + --exec-prefix=${PREFIX} \ + --with-tcl=${TCL_LIBDIR} \ XML_CONFIG="${XML_CONFIG}" PLIST_SUB= VER=${PORTVERSION} OPTIONS_DEFINE= DOCS -MAKE_ENV+= TCLLIBPATH=${STAGEDIR}/usr/local/lib +MAKE_ENV+= TCLLIBPATH=${STAGEDIR}/${PREFIX}/lib + +TEST_TARGET= test post-patch: @${REINPLACE_CMD} -e '/^TCLSH_ENV[[:blank:]]*=/,/[^\]$$/d' \ @@ -36,12 +40,13 @@ post-patch: @${REINPLACE_CMD} -e 's/FreeBSD-\*/FreeBSD-*|DragonFly-*/g' \ ${WRKSRC}/configure +.include + +.if ${PORT_OPTIONS:MDOCS} post-install: (cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_ARGS} doc) @${MKDIR} ${STAGEDIR}${DOCSDIR} (cd ${WRKSRC}/doc && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}) - -check test: install - (cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_ARGS} test) +.endif .include