mirror of
https://git.FreeBSD.org/ports.git
synced 2025-02-01 10:59:55 +00:00
- Never install unneeded docs, and fix with NOPORTDOCS.
Reported by: QA Tindy
This commit is contained in:
parent
05e3ac2d3b
commit
3c773d0117
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=218478
@ -34,17 +34,18 @@ CONFIGURE_ARGS= --program-transform-name="" --with-distributor="FreeBSD ports"
|
||||
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
||||
LDFLAGS="-L${LOCALBASE}/lib" \
|
||||
LIBS="${PTHREAD_LIBS}"
|
||||
REINPLACE_ARGS= -i ''
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e 's|-m32||' ${WRKSRC}/configure
|
||||
@${REINPLACE_CMD} -e 's|AUTHORS||; s|COPYING COPYING\.README||' \
|
||||
${WRKSRC}/Makefile.in
|
||||
.if defined(NOPORTDOCS)
|
||||
@${REINPLACE_CMD} -Ee 's|^install-dist_docDATA$$||' \
|
||||
@${REINPLACE_CMD} -Ee 's|install-dist_docDATA$$||' \
|
||||
${WRKSRC}/Makefile.in
|
||||
@${REINPLACE_CMD} -e 's|^install: install-am|install:|' \
|
||||
${WRKSRC}/doc/Makefile.in
|
||||
.else
|
||||
@${REINPLACE_CMD} -e 's|AUTHORS||; s|COPYING COPYING\.README||' \
|
||||
${WRKSRC}/Makefile.in
|
||||
.endif
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
Loading…
Reference in New Issue
Block a user