aboutsummaryrefslogtreecommitdiff
path: root/graphics/zathura
diff options
context:
space:
mode:
authorRaphael Kubo da Costa <rakuco@FreeBSD.org>2012-10-28 21:39:50 +0000
committerRaphael Kubo da Costa <rakuco@FreeBSD.org>2012-10-28 21:39:50 +0000
commit765a01d81703f9a1802100cfa6dd04ac13fb4223 (patch)
tree953978700c4149f8dd9819feafc7c57cb54be28f /graphics/zathura
parent70f898b28ed1eaaecdae489162c0681390feb36c (diff)
downloadports-765a01d81703f9a1802100cfa6dd04ac13fb4223.tar.gz
ports-765a01d81703f9a1802100cfa6dd04ac13fb4223.zip
Notes
Diffstat (limited to 'graphics/zathura')
-rw-r--r--graphics/zathura/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/graphics/zathura/Makefile b/graphics/zathura/Makefile
index 36e38803298f..0c204ae61676 100644
--- a/graphics/zathura/Makefile
+++ b/graphics/zathura/Makefile
@@ -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}