From owner-svn-ports-all@FreeBSD.ORG Wed Feb 26 09:04:31 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 EDAD96F4; Wed, 26 Feb 2014 09:04:31 +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 D74731D3B; Wed, 26 Feb 2014 09:04:31 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s1Q94VHU014331; Wed, 26 Feb 2014 09:04:31 GMT (envelope-from ehaupt@svn.freebsd.org) Received: (from ehaupt@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s1Q94Vts014330; Wed, 26 Feb 2014 09:04:31 GMT (envelope-from ehaupt@svn.freebsd.org) Message-Id: <201402260904.s1Q94Vts014330@svn.freebsd.org> From: Emanuel Haupt Date: Wed, 26 Feb 2014 09:04:31 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r346156 - head/textproc/odt2txt X-SVN-Group: ports-head 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, 26 Feb 2014 09:04:32 -0000 Author: ehaupt Date: Wed Feb 26 09:04:31 2014 New Revision: 346156 URL: http://svnweb.freebsd.org/changeset/ports/346156 QAT: https://qat.redports.org/buildarchive/r346156/ Log: Support staging Modified: head/textproc/odt2txt/Makefile Modified: head/textproc/odt2txt/Makefile ============================================================================== --- head/textproc/odt2txt/Makefile Wed Feb 26 09:03:17 2014 (r346155) +++ head/textproc/odt2txt/Makefile Wed Feb 26 09:04:31 2014 (r346156) @@ -9,26 +9,23 @@ MASTER_SITES= http://stosberg.net/odt2tx ftp://ftp.renatasystems.org/pub/FreeBSD/ports/distfiles/ MAINTAINER= alexey@renatasystems.org -COMMENT= A simple converter from OpenDocument Text to plain text +COMMENT= Simple converter from OpenDocument Text to plain text LICENSE= GPLv2 -USE_GMAKE= yes -USES= iconv +USES= iconv gmake + CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib -PLIST_FILES= bin/odt2txt - -MAN1= odt2txt.1 +PLIST_FILES= bin/odt2txt man/man1/odt2txt.1.gz -NO_STAGE= yes post-patch: ${REINPLACE_CMD} -e 's#/usr/local#${LOCALBASE}#g' \ -e 's#-liconv#${ICONV_LIB}#' ${WRKSRC}/Makefile do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/odt2txt ${PREFIX}/bin/odt2txt - ${INSTALL_MAN} ${WRKSRC}/odt2txt.1 ${MANPREFIX}/man/man1/odt2txt.1 + ${INSTALL_PROGRAM} ${WRKSRC}/odt2txt ${STAGEDIR}${PREFIX}/bin + ${INSTALL_MAN} ${WRKSRC}/odt2txt.1 ${STAGEDIR}${MANPREFIX}/man/man1 .include