svn commit: r306578 - head/graphics/zathura
Raphael Kubo da Costa
rakuco at FreeBSD.org
Sun Oct 28 21:39:51 UTC 2012
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 at puripuri.plala.or.jp
Approved by: Quentin Stievenart <acieroid at 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}
More information about the svn-ports-head
mailing list