From 8e12ef263a8fba6139731c9c6dc988423f4497c4 Mon Sep 17 00:00:00 2001 From: Alexander Langer Date: Sat, 5 May 2001 13:28:25 +0000 Subject: * documentation into share/doc and respect NOPORTDOCS * NO_CDROM (do not sell for profit) Suggested by: nsayer * Fix MASTER_SITE --- security/mindterm-binary/Makefile | 11 +++++++++-- security/mindterm-binary/pkg-plist | 16 ++++++++-------- 2 files changed, 17 insertions(+), 10 deletions(-) (limited to 'security/mindterm-binary') diff --git a/security/mindterm-binary/Makefile b/security/mindterm-binary/Makefile index d50a2aa522bb..acc0d69a3cf6 100644 --- a/security/mindterm-binary/Makefile +++ b/security/mindterm-binary/Makefile @@ -7,7 +7,7 @@ PORTNAME= mindterm-binary PORTVERSION= 1.2.1 CATEGORIES= security -MASTER_SITES= http://www.mindbright.se/mindterm/ \ +MASTER_SITES= http://www.mindbright.se/download/ \ ${MASTER_SITE_LOCAL} MASTER_SITE_SUBDIR= alex DISTNAME= mindtermbin-v121 @@ -19,6 +19,7 @@ MAINTAINER= alex@FreeBSD.org USE_ZIP= yes NO_WRKSUBDIR= yes NO_BUILD= yes +NO_CDROM= "Do not sell for profit" post-extract: @${CP} ${DISTDIR}/mindterm-ssh.html ${WRKSRC} @@ -26,6 +27,12 @@ post-extract: do-install: @${MKDIR} ${PREFIX}/share/java/mindterm - @${INSTALL_DATA} ${WRKSRC}/* ${PREFIX}/share/java/mindterm/ +.if !defined(NOPORTDOCS) + @${MKDIR} ${PREFIX}/share/doc/mindterm +.for DOC in CHANGES FAQ FEATURES PLATFORMS TODO mindterm-ssh.html + @${INSTALL_DATA} ${WRKSRC}/${DOC} ${PREFIX}/share/doc/mindterm/ +.endfor +.endif + @${INSTALL_DATA} ${WRKSRC}/mindterm.jar ${PREFIX}/share/java/mindterm/ .include diff --git a/security/mindterm-binary/pkg-plist b/security/mindterm-binary/pkg-plist index 724aee5de315..b985ec63bb7b 100644 --- a/security/mindterm-binary/pkg-plist +++ b/security/mindterm-binary/pkg-plist @@ -1,11 +1,11 @@ -share/java/mindterm/CHANGES -share/java/mindterm/COPYING -share/java/mindterm/FAQ -share/java/mindterm/FEATURES -share/java/mindterm/PLATFORMS -share/java/mindterm/TODO +share/doc/mindterm/CHANGES +share/doc/mindterm/FAQ +share/doc/mindterm/FEATURES +share/doc/mindterm/PLATFORMS +share/doc/mindterm/TODO +share/doc/mindterm/mindterm-ssh.html share/java/mindterm/mindterm.jar -share/java/mindterm/mindterm-ssh.html @dirrm share/java/mindterm +@dirrm share/doc/mindterm @unexec rmdir %D/share/java || true - +@unexec rmdir %D/share/doc || true -- cgit v1.2.3