From owner-svn-ports-head@FreeBSD.ORG Fri Dec 19 18:11:46 2014 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id C19F359E; Fri, 19 Dec 2014 18:11:46 +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)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id AD7FC2B67; Fri, 19 Dec 2014 18:11:46 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id sBJIBkMc080078; Fri, 19 Dec 2014 18:11:46 GMT (envelope-from antoine@FreeBSD.org) Received: (from antoine@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id sBJIBk80080077; Fri, 19 Dec 2014 18:11:46 GMT (envelope-from antoine@FreeBSD.org) Message-Id: <201412191811.sBJIBk80080077@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: antoine set sender to antoine@FreeBSD.org using -f From: Antoine Brodin Date: Fri, 19 Dec 2014 18:11:46 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r374961 - head/textproc/hevea 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.18-1 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: Fri, 19 Dec 2014 18:11:46 -0000 Author: antoine Date: Fri Dec 19 18:11:45 2014 New Revision: 374961 URL: https://svnweb.freebsd.org/changeset/ports/374961 QAT: https://qat.redports.org/buildarchive/r374961/ Log: Unbreak with and without DOCS Modified: head/textproc/hevea/Makefile Modified: head/textproc/hevea/Makefile ============================================================================== --- head/textproc/hevea/Makefile Fri Dec 19 18:08:40 2014 (r374960) +++ head/textproc/hevea/Makefile Fri Dec 19 18:11:45 2014 (r374961) @@ -6,7 +6,8 @@ PORTVERSION= 2.20 CATEGORIES= textproc MASTER_SITES= http://para.inria.fr/~maranget/hevea/distri/ \ ftp://ftp.inria.fr/INRIA/moscova/hevea/ -EXTRACT_ONLY= ${PORTNAME}-${PORTVERSION}.tar.gz +DISTFILES= ${DISTNAME}${EXTRACT_SUFX} +EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX} MAINTAINER= danilo@FreeBSD.org COMMENT= Convert LaTeX to HTML @@ -21,6 +22,8 @@ PORTDOCS= * DOCS_DISTFILES+= ${PORTNAME}-${PORTVERSION}-manual.pdf \ ${PORTNAME}-${PORTVERSION}-manual.tar.gz +.include + post-patch: @${REINPLACE_CMD} -e '/^PREFIX=/s|/usr/local|${PREFIX}|' \ ${WRKSRC}/Makefile @@ -30,8 +33,10 @@ post-install: @${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/bibhva @${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/hevea @${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/hacha +.if ${PORT_OPTIONS:MDOCS} @${MKDIR} ${STAGEDIR}${PREFIX}/share/doc/hevea ${INSTALL_DATA} ${DISTDIR}/${PORTNAME}-${PORTVERSION}-manual.pdf ${STAGEDIR}${PREFIX}/share/doc/hevea (cd ${STAGEDIR}${PREFIX}/share/doc/hevea; ${TAR} xvfz ${DISTDIR}/${PORTNAME}-${PORTVERSION}-manual.tar.gz) +.endif .include