1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-22 00:35:15 +00:00

Support stage

Add a DOCS option
This commit is contained in:
Baptiste Daroussin 2014-01-27 08:52:10 +00:00
parent e4350d60d0
commit b5e6aea28a
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=341343

View File

@ -8,20 +8,19 @@ MASTER_SITES= http://shh.thathost.com/pub-unix/files/
DISTNAME= xalloc-${PORTVERSION}
MAINTAINER= rodrigo@bebik.net
COMMENT= A memory allocation library with error checking
COMMENT= Memory allocation library with error checking
OPTIONS_DEFINE= DOCS
USES= uidfix
MAKEFILE= ${FILESDIR}/Makefile.lib
USE_LDCONFIG= yes
MAKE_ENV= WITHOUT_PROFILE=yes __MAKE_CONF=/dev/null SRCCONF=/dev/null
NO_STAGE= yes
.include <bsd.port.options.mk>
post-install:
.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/CREDITS ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
.endif
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/CREDITS ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>