Changeset View
Changeset View
Standalone View
Standalone View
graphics/py-webcolors/Makefile
Show All 9 Lines | |||||
MAINTAINER= tota@FreeBSD.org | MAINTAINER= tota@FreeBSD.org | ||||
COMMENT= Library working with the sRGB color space as used in the HTML and CSS | COMMENT= Library working with the sRGB color space as used in the HTML and CSS | ||||
LICENSE= BSD3CLAUSE | LICENSE= BSD3CLAUSE | ||||
USES= python | USES= python | ||||
USE_PYTHON= distutils autoplist | USE_PYTHON= distutils autoplist | ||||
DOCSDIR= ${PREFIX}/share/doc/${UNIQUENAME} | DOCSDIR= ${PREFIX}/share/doc/${PKGBASE} | ||||
PORTDOCS= README | PORTDOCS= README | ||||
OPTIONS_DEFINE= DOCS | OPTIONS_DEFINE= DOCS | ||||
.include <bsd.port.options.mk> | .include <bsd.port.options.mk> | ||||
.if ${PORT_OPTIONS:MDOCS} | .if ${PORT_OPTIONS:MDOCS} | ||||
post-install: | post-install: | ||||
@${MKDIR} ${STAGEDIR}${DOCSDIR} | @${MKDIR} ${STAGEDIR}${DOCSDIR} | ||||
@${INSTALL_DATA} ${INSTALL_WRKSRC}/${PORTDOCS} ${STAGEDIR}${DOCSDIR} | @${INSTALL_DATA} ${INSTALL_WRKSRC}/${PORTDOCS} ${STAGEDIR}${DOCSDIR} | ||||
.endif | .endif | ||||
.include <bsd.port.mk> | .include <bsd.port.mk> |