diff options
author | Baptiste Daroussin <bapt@FreeBSD.org> | 2014-02-06 22:04:33 +0000 |
---|---|---|
committer | Baptiste Daroussin <bapt@FreeBSD.org> | 2014-02-06 22:04:33 +0000 |
commit | a46a263c53ddfa41d0432958633f7b5bce658155 (patch) | |
tree | bd6e9c1d4597a42add00f144f6555bf226df86ad /devel | |
parent | Support stage (diff) |
Support stage
Notes
Notes:
svn path=/head/; revision=343159
Diffstat (limited to 'devel')
-rw-r--r-- | devel/uthash/Makefile | 22 |
1 files changed, 9 insertions, 13 deletions
diff --git a/devel/uthash/Makefile b/devel/uthash/Makefile index 39e894b411c0..47be02b21978 100644 --- a/devel/uthash/Makefile +++ b/devel/uthash/Makefile @@ -7,10 +7,11 @@ CATEGORIES= devel MASTER_SITES= GH MAINTAINER= zi@FreeBSD.org -COMMENT= A hash table for C structures +COMMENT= hash table for C structures LICENSE= BSD -LICENSE_FILE= ${WRKSRC}/LICENSE + +OPTIONS_DEFINE= DOCS USE_BZIP2= yes NO_BUILD= yes @@ -24,19 +25,14 @@ PORTDOCS= ChangeLog.txt todo.txt userguide.txt utarray.txt \ PLIST_FILES= include/utarray.h include/uthash.h include/utlist.h \ include/utstring.h -NO_STAGE= yes -.include <bsd.port.options.mk> - do-install: - @${INSTALL_DATA} ${WRKSRC}/src/utarray.h ${PREFIX}/include/ - @${INSTALL_DATA} ${WRKSRC}/src/uthash.h ${PREFIX}/include/ - @${INSTALL_DATA} ${WRKSRC}/src/utlist.h ${PREFIX}/include/ - @${INSTALL_DATA} ${WRKSRC}/src/utstring.h ${PREFIX}/include/ -.if ${PORT_OPTIONS:MDOCS} - @${MKDIR} ${DOCSDIR} + @${INSTALL_DATA} ${WRKSRC}/src/utarray.h \ + ${WRKSRC}/src/uthash.h \ + ${WRKSRC}/src/utlist.h \ + ${WRKSRC}/src/utstring.h ${STAGEDIR}${PREFIX}/include/ + @${MKDIR} ${STAGEDIR}${DOCSDIR} .for f in ${PORTDOCS} - @${INSTALL_DATA} ${WRKSRC}/doc/${f} ${DOCSDIR} + @${INSTALL_DATA} ${WRKSRC}/doc/${f} ${STAGEDIR}${DOCSDIR} .endfor -.endif .include <bsd.port.mk> |