1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-03 06:04:53 +00:00

- Stage support

- Convert to optionsNG
- Pet portlint
This commit is contained in:
Wen Heping 2014-05-19 12:47:41 +00:00
parent c2b97c8222
commit 22c5a9fc86
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=354535
2 changed files with 7 additions and 6 deletions

View File

@ -7,7 +7,7 @@ CATEGORIES= databases
MASTER_SITES= http://hamsterdb.com/public/dl/
MAINTAINER= wen@FreeBSD.org
COMMENT= A Lightweight Embedded Database Engine
COMMENT= Lightweight Embedded Database Engine
GNU_CONFIGURE= yes
USE_GMAKE= yes
@ -15,16 +15,17 @@ USE_LDCONFIG= yes
HAM_DOCS= README INSTALL ChangeLog TODO AUTHORS CREDITS
NO_STAGE= yes
.include <bsd.port.options.mk>
post-extract:
${REINPLACE_CMD} -e 's#-ldl##g' ${WRKSRC}/configure
${REINPLACE_CMD} -e 's#-ldl##g' ${WRKSRC}/unittests/Makefile.in
post-install:
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
.if ${PORT_OPTIONS:MDOCS}
${MKDIR} ${STAGEDIR}${DOCSDIR}
.for i in ${HAM_DOCS}
${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}/
${INSTALL_DATA} ${WRKSRC}/${i} ${STAGEDIR}${DOCSDIR}/
.endfor
.endif