x11-toolkits/tkshape: Add LICENSE

- Remove a master site no more available
- Pet port(clippy|fmt)

PR:		279101
This commit is contained in:
Chris Hutchinson 2024-05-21 11:48:09 +02:00 committed by Nicola Vitale
parent 399890025b
commit eb76881975
No known key found for this signature in database
GPG key ID: A51E190C4C0808D0

View file

@ -1,23 +1,25 @@
PORTNAME= tkshape
PORTVERSION= 0.4
PORTREVISION= 3
PORTREVISION= 4
CATEGORIES= x11-toolkits
MASTER_SITES= http://www.cs.man.ac.uk/~fellowsd/tcl/ \
http://nivi.interfree.it/distfiles/${PORTNAME}/${PORTVERSION}/
MASTER_SITES= http://www.cs.man.ac.uk/~fellowsd/tcl/
DISTNAME= shape${PORTVERSION:S/.//g}
MAINTAINER= nivit@FreeBSD.org
COMMENT= Tk library to access to X Shaped Window Extension
WWW= https://www.cs.man.ac.uk/~fellowsd/tcl/shapeidx.html
USES= gmake tk xorg
LICENSE= TKSHAPE
LICENSE_NAME= TKSHAPE License
LICENSE_FILE= ${WRKSRC}/license.txt
LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
USES= gmake tk xorg
USE_LDCONFIG= yes
USE_XORG= x11 xext
PLIST_SUB= PORTNAME="${PORTNAME}"
USE_LDCONFIG= yes
OPTIONS_DEFINE= MANPAGES
OPTIONS_DEFAULT= MANPAGES
MANPAGES_DESC= Install manual pages
@ -39,8 +41,7 @@ CONFIGURE_WRKSRC= ${WRKSRC}/unix
BUILD_WRKSRC= ${CONFIGURE_WRKSRC}
WHERE_REPLACE= ${WRKSRC}/demos
REPLACE_FILES= ${WHERE_REPLACE}/dragger.tcl \
${WHERE_REPLACE}/fancytext.tcl \
REPLACE_FILES= ${WHERE_REPLACE}/dragger.tcl ${WHERE_REPLACE}/fancytext.tcl \
${WHERE_REPLACE}/fingerprint.tcl
post-patch: .SILENT
@ -53,8 +54,7 @@ post-patch: .SILENT
FIND_DIRS= -type d \! -empty
FIND_DEMOS= demos -type f -and -name "*.tcl" -maxdepth 1
FIND_IMAGES= demos/images -type f \
-and \( -name "*.gif" -or -name "*.xbm" \
FIND_IMAGES= demos/images -type f -and \( -name "*.gif" -or -name "*.xbm" \
-or -name "*.cur" \)
TARGET_DIR= ${STAGEDIR}${PREFIX}/lib/${PORTNAME}