- Fix build with MANPAGES off

PR:		ports/176842
Submitted by:	Lukasz Wasikowski <lukasz@wasikowski.net>
This commit is contained in:
Sunpoet Po-Chuan Hsieh 2013-03-24 06:16:50 +00:00
parent 78f061e3b3
commit 25d471b8a0
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=315104

View file

@ -56,7 +56,9 @@ MAN1= chronic.1 \
post-patch:
@${REINPLACE_CMD} -e 's|share/xml/docbook/schema/dtd/|local/share/xml/docbook/|' ${WRKSRC}/*.docbook
.if ${PORT_OPTIONS:MMANPAGES}
@cd ${FILESDIR}/ && ${CP} ${CANNED_MAN1} ${WRKSRC}/
.endif
post-install:
.if ${PORT_OPTIONS:MMANPAGES}