mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-24 09:25:01 +00:00
Support stage by injecting the ${DESTDIR} support in Makefiles thought configure script
Add DOCS options USE_GMAKE -> USES=gmake
This commit is contained in:
parent
864284545c
commit
06b6434190
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=341493
@ -12,11 +12,14 @@ COMMENT= Feature rich persistent database generator
|
||||
|
||||
LICENSE= GPLv2
|
||||
|
||||
HAS_CONFIGURE= yes
|
||||
USE_GMAKE= yes
|
||||
ALL_TARGET= # empty
|
||||
OPTIONS_DEFINE= DOCS
|
||||
|
||||
HAS_CONFIGURE= yes
|
||||
USES= gmake
|
||||
ALL_TARGET= # empty
|
||||
PORTDOCS= *
|
||||
CONFIGURE_ARGS= --prefix=\$${DESTDIR}${PREFIX}
|
||||
|
||||
NO_STAGE= yes
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
.if ${OSVERSION} < 1000013
|
||||
@ -26,13 +29,9 @@ post-patch:
|
||||
${REINPLACE_CMD} -e "s/bison/byacc/g" ${WRKSRC}/configure
|
||||
.endif
|
||||
|
||||
.if ${PORT_OPTIONS:MDOCS}
|
||||
PORTDOCS= *
|
||||
|
||||
post-install:
|
||||
@${MKDIR} ${DOCSDIR}
|
||||
${CP} -R ${WRKSRC}/www/* ${DOCSDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/manual.pdf ${DOCSDIR}
|
||||
.endif
|
||||
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||
${CP} -R ${WRKSRC}/www/* ${STAGEDIR}${DOCSDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/manual.pdf ${STAGEDIR}${DOCSDIR}
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
Loading…
Reference in New Issue
Block a user