mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-26 09:46:09 +00:00
Support stage
Add doc option Simplify the ports to let the ustream build process install the docs, stage will take care of only packaging what we want. add GNU_CONFIGURE to properly let the configure process happen with the ports framework variables set
This commit is contained in:
parent
29a603d166
commit
47275c3f45
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=341383
@ -9,23 +9,15 @@ MASTER_SITES= SF/worldforge/OldFiles
|
||||
DISTNAME= ${PORTNAME}-C++-${PORTVERSION}
|
||||
|
||||
MAINTAINER= oliver@FreeBSD.org
|
||||
COMMENT= A C++ reference implementation of the Atlas protocol
|
||||
COMMENT= C++ reference implementation of the Atlas protocol
|
||||
|
||||
OPTIONS_DEFINE= DOCS
|
||||
|
||||
GNU_CONFIGURE= yes
|
||||
USES= pathfix
|
||||
USE_AUTOTOOLS= libtool
|
||||
USE_LDCONFIG= YES
|
||||
USE_BZIP2= YES
|
||||
USES= pathfix
|
||||
|
||||
NO_STAGE= yes
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e 's| install-docDATA | |g' ${WRKSRC}/Makefile.in
|
||||
|
||||
post-install:
|
||||
.if !defined(NOPORTDOCS)
|
||||
@${MKDIR} ${DOCSDIR}
|
||||
.for docfile in README COPYING AUTHORS THANKS NEWS ChangeLog TODO HACKING ROADMAP
|
||||
@${INSTALL_DATA} ${WRKSRC}/${docfile} ${DOCSDIR}
|
||||
.endfor
|
||||
.endif
|
||||
MAKE_ARGS= docdir=${DOCSDIR}
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
Loading…
Reference in New Issue
Block a user