mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-22 04:17:44 +00:00
Stagify.
This commit is contained in:
parent
07ba7fad14
commit
652f324cab
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=364242
@ -22,23 +22,15 @@ PLIST_FILES= sbin/fvcool
|
||||
|
||||
OPTIONS_DEFINE= DOCS
|
||||
|
||||
NO_STAGE= yes
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e 's|@CC@|& ${CFLAGS}|; \
|
||||
s|-O3||g ; s| -s | |g' ${BUILD_WRKSRC}/Makefile.in
|
||||
|
||||
do-install: install-doc
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/fvcool ${PREFIX}/sbin/fvcool
|
||||
|
||||
post-install:
|
||||
@${CAT} ${PKGMESSAGE}
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/fvcool ${STAGEDIR}${PREFIX}/sbin/fvcool
|
||||
|
||||
install-doc:
|
||||
.if ${PORT_OPTIONS:MDOCS}
|
||||
@${MKDIR} ${DOCSDIR}
|
||||
${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${DOCSDIR}
|
||||
.endif
|
||||
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||
${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
Loading…
Reference in New Issue
Block a user