1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-22 04:17:44 +00:00
This commit is contained in:
Vanilla I. Shu 2014-08-07 02:05:34 +00:00
parent 07ba7fad14
commit 652f324cab
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=364242

View File

@ -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>