Changeset View
Changeset View
Standalone View
Standalone View
sysutils/bacula5-docs/Makefile
Show All 9 Lines | |||||
CONFLICTS= bacula-* | CONFLICTS= bacula-* | ||||
MAINTAINER= dan@langille.org | MAINTAINER= dan@langille.org | ||||
COMMENT= Bacula document set | COMMENT= Bacula document set | ||||
NO_BUILD= yes | NO_BUILD= yes | ||||
UNIQUENAME= ${PORTNAME}${PKGNAMESUFFIX} | |||||
PORTDOCS= *.pdf | PORTDOCS= *.pdf | ||||
OPTIONS_DEFINE= DOCS | OPTIONS_DEFINE= DOCS | ||||
.include <bsd.port.options.mk> | .include <bsd.port.options.mk> | ||||
.if empty(PORT_OPTIONS:MDOCS) | .if empty(PORT_OPTIONS:MDOCS) | ||||
IGNORE= consists of only documentation, please enable DOCS and try again | IGNORE= consists of only documentation, please enable DOCS and try again | ||||
.endif | .endif | ||||
do-install: | do-install: | ||||
${MKDIR} ${STAGEDIR}${DOCSDIR} | ${MKDIR} ${STAGEDIR}${DOCSDIR} | ||||
${FIND} ${WRKDIR}/${PORTNAME}-docs-${PORTVERSION}/manuals/en \ | ${FIND} ${WRKDIR}/${PORTNAME}-docs-${PORTVERSION}/manuals/en \ | ||||
-name "*.pdf" -exec ${INSTALL_DATA} {} ${STAGEDIR}${DOCSDIR}/ \; | -name "*.pdf" -exec ${INSTALL_DATA} {} ${STAGEDIR}${DOCSDIR}/ \; | ||||
.include <bsd.port.mk> | .include <bsd.port.mk> |