summaryrefslogtreecommitdiffstats
path: root/sysutils/vobcopy/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils/vobcopy/Makefile')
-rw-r--r--sysutils/vobcopy/Makefile14
1 files changed, 5 insertions, 9 deletions
diff --git a/sysutils/vobcopy/Makefile b/sysutils/vobcopy/Makefile
index 3bbe000..e2a0f0e 100644
--- a/sysutils/vobcopy/Makefile
+++ b/sysutils/vobcopy/Makefile
@@ -24,8 +24,6 @@ PORTDOCS= COPYING Changelog README TODO \
alternative_programs.txt
OPTIONS_DEFINE= DOCS
-.include <bsd.port.options.mk>
-
post-extract:
@${CHMOD} a+x ${WRKSRC}/${CONFIGURE_SCRIPT}
@@ -56,14 +54,12 @@ post-configure:
${WRKSRC}/Makefile
do-install:
- @${INSTALL_PROGRAM} ${WRKSRC}/vobcopy ${STAGEDIR}${PREFIX}/bin/vobcopy
- @${INSTALL_MAN} ${WRKSRC}/vobcopy.1${MAN1_SUFX} \
+ ${INSTALL_PROGRAM} ${WRKSRC}/vobcopy ${STAGEDIR}${PREFIX}/bin/vobcopy
+ ${INSTALL_MAN} ${WRKSRC}/vobcopy.1${MAN1_SUFX} \
${STAGEDIR}${MANPREFIX}/man/man1/vobcopy.1
-post-install:
-.if ${PORT_OPTIONS:MDOCS}
- @${INSTALL} -d ${STAGEDIR}${DOCSDIR}
- @cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}
-.endif
+do-install-DOCS-on:
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
+ cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>
OpenPOWER on IntegriCloud