summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sysutils/fvcool/Makefile14
1 files changed, 3 insertions, 11 deletions
diff --git a/sysutils/fvcool/Makefile b/sysutils/fvcool/Makefile
index eb74d5d6f797..8cc8cc80f9c6 100644
--- a/sysutils/fvcool/Makefile
+++ b/sysutils/fvcool/Makefile
@@ -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>