mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-20 08:27:15 +00:00
- Stage support
This commit is contained in:
parent
e9a7e7ace1
commit
460d71dff9
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=345302
@ -24,11 +24,9 @@ BGLIBS_LIB= ${PREFIX}/lib/${PORTNAME}
|
||||
USE_LDCONFIG= ${BGLIBS_LIB}
|
||||
|
||||
DOCS= NEWS README TODO doc/html/*
|
||||
MAN1= cli-generate.1
|
||||
|
||||
OPTIONS_DEFINE= DOCS
|
||||
|
||||
NO_STAGE= yes
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
post-patch:
|
||||
@ -37,17 +35,15 @@ post-patch:
|
||||
do-configure:
|
||||
${ECHO_CMD} "${CC} ${CFLAGS}" > ${WRKSRC}/conf-cc
|
||||
${ECHO_CMD} "${CC} ${STRIP} ${LDFLAGS}" > ${WRKSRC}/conf-ld
|
||||
${ECHO_CMD} "${PREFIX}" > ${WRKSRC}/conf-home
|
||||
${ECHO_CMD} "${PREFIX}/bin" > ${WRKSRC}/conf-bin
|
||||
${ECHO_CMD} "${PREFIX}/man" > ${WRKSRC}/conf-man
|
||||
${ECHO_CMD} "${BGLIBS_INC}" > ${WRKSRC}/conf-include
|
||||
${ECHO_CMD} "${BGLIBS_LIB}" > ${WRKSRC}/conf-lib
|
||||
${ECHO_CMD} "${STAGEDIR}${PREFIX}" > ${WRKSRC}/conf-home
|
||||
${ECHO_CMD} "${STAGEDIR}${PREFIX}/bin" > ${WRKSRC}/conf-bin
|
||||
${ECHO_CMD} "${STAGEDIR}${PREFIX}/man" > ${WRKSRC}/conf-man
|
||||
${ECHO_CMD} "${STAGEDIR}${BGLIBS_INC}" > ${WRKSRC}/conf-include
|
||||
${ECHO_CMD} "${STAGEDIR}${BGLIBS_LIB}" > ${WRKSRC}/conf-lib
|
||||
|
||||
.if ${PORT_OPTIONS:MDOCS}
|
||||
post-install:
|
||||
@${MKDIR} ${DOCSDIR}
|
||||
cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${DOCSDIR}
|
||||
.endif
|
||||
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||
cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${STAGEDIR}${DOCSDIR}
|
||||
|
||||
selftest: build
|
||||
cd ${WRKSRC} && ${SH} selftests.sh
|
||||
|
@ -244,6 +244,7 @@ lib/bglibs/vmailmgr/vpwentry.a
|
||||
%%PORTDOCS%%%%DOCSDIR%%/surf_8h-source.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/surfrand_8h-source.html
|
||||
%%PORTDOCS%%@dirrm %%DOCSDIR%%
|
||||
man/man1/cli-generate.1.gz
|
||||
@dirrm include/bglibs/adt
|
||||
@dirrm include/bglibs/base64
|
||||
@dirrm include/bglibs/cdb
|
||||
|
Loading…
Reference in New Issue
Block a user