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
This commit is contained in:
parent
70f898b28e
commit
765a01d817
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=306578
1 changed files with 3 additions and 0 deletions
|
@ -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}
|
||||
|
|
Loading…
Reference in a new issue