aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDirk Meyer <dinoex@FreeBSD.org>2024-01-13 10:31:33 +0000
committerDirk Meyer <dinoex@FreeBSD.org>2024-01-13 10:31:33 +0000
commitf4b052bdc211737da3a280802dcde27656a65075 (patch)
treec7cfb57f680d71cb97f693616073b7bd180ee19f
parent0f35d118f29c44a286226933a85df4a528c31a01 (diff)
downloadports-f4b052bdc211737da3a280802dcde27656a65075.tar.gz
ports-f4b052bdc211737da3a280802dcde27656a65075.zip
german/unix-connect: beautify
-rw-r--r--german/unix-connect/Makefile10
1 files changed, 3 insertions, 7 deletions
diff --git a/german/unix-connect/Makefile b/german/unix-connect/Makefile
index 3923b75a41c6..487610a04f85 100644
--- a/german/unix-connect/Makefile
+++ b/german/unix-connect/Makefile
@@ -60,20 +60,16 @@ CNEWS_CONFIGURE_ON= --with-news=cnews
INN_CONFIGURE_ON= --with-news=inn
NO_NEWS_CONFIGURE_ON= --with-news=no
-.include <bsd.port.options.mk>
-
pre-install:
${MKDIR} ${STAGEDIR}/var/spool
-post-install:
-.if ${PORT_OPTIONS:MCNEWS}
+post-install-CNEWS-on:
${INSTALL_SCRIPT} ${WRKSRC}/mail-and-news/cnews/viazconnect \
${STAGEDIR}${PREFIX}/libexec/uconnect/
-.endif
-.if ${PORT_OPTIONS:MDOCS}
+
+post-install-DOCS-on:
${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${DOC1:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}/
${TAR} -C ${WRKSRC}/docs -cf - . | ${TAR} -C ${STAGEDIR}${DOCSDIR} -xf -
-.endif
.include <bsd.port.mk>