diff options
author | alex <alex@FreeBSD.org> | 2001-05-05 21:28:25 +0800 |
---|---|---|
committer | alex <alex@FreeBSD.org> | 2001-05-05 21:28:25 +0800 |
commit | 7b3ce16e97784e1945d401cdecce12780cefb69b (patch) | |
tree | d6aa97e8a27486e54a4420082a05565a9d2a6e98 /security/mindterm-binary | |
parent | 3e05cc0656f45aa8d35a624f7894df77aeebf729 (diff) | |
download | freebsd-ports-gnome-7b3ce16e97784e1945d401cdecce12780cefb69b.tar.gz freebsd-ports-gnome-7b3ce16e97784e1945d401cdecce12780cefb69b.tar.zst freebsd-ports-gnome-7b3ce16e97784e1945d401cdecce12780cefb69b.zip |
* documentation into share/doc and respect NOPORTDOCS
* NO_CDROM (do not sell for profit)
Suggested by: nsayer
* Fix MASTER_SITE
Diffstat (limited to 'security/mindterm-binary')
-rw-r--r-- | security/mindterm-binary/Makefile | 11 | ||||
-rw-r--r-- | security/mindterm-binary/pkg-plist | 16 |
2 files changed, 17 insertions, 10 deletions
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 <bsd.port.mk> 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 |