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 - 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