From owner-svn-ports-all@FreeBSD.ORG Wed Jan 15 19:43:26 2014 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 92D5E32F; Wed, 15 Jan 2014 19:43:26 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 6603B1F08; Wed, 15 Jan 2014 19:43:26 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id s0FJhQPi093479; Wed, 15 Jan 2014 19:43:26 GMT (envelope-from antoine@svn.freebsd.org) Received: (from antoine@localhost) by svn.freebsd.org (8.14.7/8.14.7/Submit) id s0FJhQQs093478; Wed, 15 Jan 2014 19:43:26 GMT (envelope-from antoine@svn.freebsd.org) Message-Id: <201401151943.s0FJhQQs093478@svn.freebsd.org> From: Antoine Brodin Date: Wed, 15 Jan 2014 19:43:26 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-branches@freebsd.org Subject: svn commit: r339810 - in branches/2014Q1/textproc/amberfish: . files X-SVN-Group: ports-branches MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 15 Jan 2014 19:43:26 -0000 Author: antoine Date: Wed Jan 15 19:43:25 2014 New Revision: 339810 URL: http://svnweb.freebsd.org/changeset/ports/339810 QAT: https://qat.redports.org/buildarchive/r339810/ Log: MFH: r339809 - Fix build on 10/head - Respect CFLAGS, STRIP - Stage support PR: ports/184865 Submitted by: KATO Tsuguru Approved by: portmgr (implicit) Deleted: branches/2014Q1/textproc/amberfish/files/patch-Makefile.in branches/2014Q1/textproc/amberfish/pkg-plist Modified: branches/2014Q1/textproc/amberfish/Makefile Directory Properties: branches/2014Q1/ (props changed) Modified: branches/2014Q1/textproc/amberfish/Makefile ============================================================================== --- branches/2014Q1/textproc/amberfish/Makefile Wed Jan 15 19:36:26 2014 (r339809) +++ branches/2014Q1/textproc/amberfish/Makefile Wed Jan 15 19:43:25 2014 (r339810) @@ -7,29 +7,36 @@ CATEGORIES= textproc databases MASTER_SITES= SF/${PORTNAME}/Amberfish%20source%20-%20stable/${PORTVERSION} \ http://etymon.com/software/amberfish/stable/ - MAINTAINER= ports@FreeBSD.org COMMENT= General purpose text retrieval Software -LIB_DEPENDS= xerces-c.27:${PORTSDIR}/textproc/xerces-c2 +LIB_DEPENDS= libxerces-c.so.27:${PORTSDIR}/textproc/xerces-c2 +USES= gmake GNU_CONFIGURE= yes -USE_GMAKE= yes +ALL_TARGET= all html + +PLIST_FILES= bin/af man/man1/af.1.gz +PORTDOCS= * -MAN1= af.1 +OPTIONS_DEFINE= DOCS -NO_STAGE= yes post-extract: ${INSTALL_DATA} ${FILESDIR}/porter.cc ${WRKSRC}/src -.if !defined(NOPORTDOCS) -post-build: - @(cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${GMAKE} html) +post-patch: + @${REINPLACE_CMD} -e \ + 's|$${MAKEFLAGS} ||' ${WRKSRC}/Makefile + @${REINPLACE_CMD} -e \ + 's|cp |$${BSD_INSTALL_MAN} |' ${WRKSRC}/doc/Makefile.in + @${REINPLACE_CMD} -e \ + 's|-O3 |@CFLAGS@ | ; \ + s|make strip|| ; \ + s|cp |$${BSD_INSTALL_PROGRAM} |' ${WRKSRC}/src/Makefile.in post-install: - ${MKDIR} ${DOCSDIR} - ${INSTALL_DATA} ${WRKSRC}/amberfish.png ${DOCSDIR} - ${INSTALL_MAN} ${WRKSRC}/doc/html/*.html ${DOCSDIR} -.endif + @${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/amberfish.png ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/doc/html/*.html ${STAGEDIR}${DOCSDIR} .include