Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 28 Oct 2012 21:39:50 +0000 (UTC)
From:      Raphael Kubo da Costa <rakuco@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r306578 - head/graphics/zathura
Message-ID:  <201210282139.q9SLdolE005091@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: rakuco
Date: Sun Oct 28 21:39:50 2012
New Revision: 306578
URL: http://svn.freebsd.org/changeset/ports/306578

Log:
  Make sure the installed man pages are not empty.
  
  - Remove empty vendor-supplied manpages to ensure rebuilding.
  - Tell gmake where our rst2man being placed via MAKE_ENV.
  
  PR:		ports/173046
  Submitted by:	poyopoyo@puripuri.plala.or.jp
  Approved by:	Quentin Stievenart <acieroid@awesom.eu> (maintainer)
  Feature safe:	yes

Modified:
  head/graphics/zathura/Makefile

Modified: head/graphics/zathura/Makefile
==============================================================================
--- head/graphics/zathura/Makefile	Sun Oct 28 21:34:25 2012	(r306577)
+++ head/graphics/zathura/Makefile	Sun Oct 28 21:39:50 2012	(r306578)
@@ -3,6 +3,7 @@
 
 PORTNAME=	zathura
 PORTVERSION=	0.2.1
+PORTREVISION=	1
 CATEGORIES=	graphics print
 MASTER_SITES=	http://pwmt.org/projects/zathura/download/
 
@@ -32,6 +33,7 @@ MAKE_ENV+=	WITH_SQLITE=0
 BUILD_DEPENDS+=	rst2html:${PORTSDIR}/textproc/py-docutils
 MAN1+=		zathura.1
 MAN5+=		zathurarc.5
+MAKE_ENV+=	RSTTOMAN=${LOCALBASE}/bin/rst2man
 .endif
 
 .if !defined(WITHOUT_NLS)
@@ -65,6 +67,7 @@ post-patch:	.SILENT
 	${REINPLACE_CMD} -e 's|/etc|${PREFIX}&|g' \
 		${WRKSRC}/config.h \
 		${WRKSRC}/zathurarc.5.rst
+	(cd ${WRKSRC}; ${RM} -f ${MAN1} ${MAN5})
 
 post-install:
 	@${CAT} ${PKGMESSAGE}



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