git: f4b052bdc211 - main - german/unix-connect: beautify
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 13 Jan 2024 10:31:41 UTC
The branch main has been updated by dinoex:
URL: https://cgit.FreeBSD.org/ports/commit/?id=f4b052bdc211737da3a280802dcde27656a65075
commit f4b052bdc211737da3a280802dcde27656a65075
Author: Dirk Meyer <dinoex@FreeBSD.org>
AuthorDate: 2024-01-13 10:31:33 +0000
Commit: Dirk Meyer <dinoex@FreeBSD.org>
CommitDate: 2024-01-13 10:31:33 +0000
german/unix-connect: beautify
---
german/unix-connect/Makefile | 10 +++-------
1 file 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>