Changeset View
Changeset View
Standalone View
Standalone View
graphics/giflib/Makefile
Show All 29 Lines | |||||
.if ${PORT_OPTIONS:MDOCBOOK} && ${PORT_OPTIONS:MDOCS} | .if ${PORT_OPTIONS:MDOCBOOK} && ${PORT_OPTIONS:MDOCS} | ||||
BUILD_DEPENDS+= xmlto:textproc/xmlto \ | BUILD_DEPENDS+= xmlto:textproc/xmlto \ | ||||
docbook-xml>0:textproc/docbook-xml | docbook-xml>0:textproc/docbook-xml | ||||
.else | .else | ||||
CONFIGURE_ENV+= have_xmlto=no | CONFIGURE_ENV+= have_xmlto=no | ||||
.endif | .endif | ||||
.if ${OPSYS} == FreeBSD | .if ${OPSYS} == FreeBSD | ||||
. if ${OSVERSION} >= 1100072 | |||||
EXTRA_PATCHES= ${FILESDIR}/extra-patch-unbundle-reallocarray | EXTRA_PATCHES= ${FILESDIR}/extra-patch-unbundle-reallocarray | ||||
. else | |||||
EXTRA_PATCHES= ${FILESDIR}/extra-patch-hide-reallocarray | |||||
. endif | |||||
.elif ${OPSYS} == DragonFly | .elif ${OPSYS} == DragonFly | ||||
EXTRA_PATCHES= ${FILESDIR}/extra-patch-hide-reallocarray-dfly | EXTRA_PATCHES= ${FILESDIR}/extra-patch-hide-reallocarray-dfly | ||||
.endif | .endif | ||||
post-install: | post-install: | ||||
${INSTALL_MAN} ${WRKSRC}/doc/*.1 ${STAGEDIR}${PREFIX}/man/man1/ | ${INSTALL_MAN} ${WRKSRC}/doc/*.1 ${STAGEDIR}${PREFIX}/man/man1/ | ||||
.if ${PORT_OPTIONS:MDOCBOOK} && ${PORT_OPTIONS:MDOCS} | .if ${PORT_OPTIONS:MDOCBOOK} && ${PORT_OPTIONS:MDOCS} | ||||
${MKDIR} ${STAGEDIR}${DOCSDIR} | ${MKDIR} ${STAGEDIR}${DOCSDIR} | ||||
${INSTALL_DATA} ${WRKSRC}/doc/*.html ${STAGEDIR}${DOCSDIR}/ | ${INSTALL_DATA} ${WRKSRC}/doc/*.html ${STAGEDIR}${DOCSDIR}/ | ||||
${INSTALL_DATA} ${WRKSRC}/doc/*.txt ${STAGEDIR}${DOCSDIR}/ | ${INSTALL_DATA} ${WRKSRC}/doc/*.txt ${STAGEDIR}${DOCSDIR}/ | ||||
.endif | .endif | ||||
.include <bsd.port.mk> | .include <bsd.port.mk> |