aboutsummaryrefslogtreecommitdiff
path: root/devel/libxalloc/Makefile
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2014-01-27 08:52:10 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2014-01-27 08:52:10 +0000
commitb5e6aea28afd792a3f9e5de04f86d32a9d89763e (patch)
tree359b195b1f537f3051f26f3b82d5feb93f2140e4 /devel/libxalloc/Makefile
parente4350d60d0f5a317b557bd6b9a65d0c9a413e773 (diff)
downloadports-b5e6aea28afd792a3f9e5de04f86d32a9d89763e.tar.gz
ports-b5e6aea28afd792a3f9e5de04f86d32a9d89763e.zip
Support stage
Add a DOCS option
Notes
Notes: svn path=/head/; revision=341343
Diffstat (limited to 'devel/libxalloc/Makefile')
-rw-r--r--devel/libxalloc/Makefile17
1 files changed, 8 insertions, 9 deletions
diff --git a/devel/libxalloc/Makefile b/devel/libxalloc/Makefile
index 740ea5b54cdb..fe2bb06ca9c8 100644
--- a/devel/libxalloc/Makefile
+++ b/devel/libxalloc/Makefile
@@ -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>