1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-20 08:27:15 +00:00
freebsd-ports/x11-fonts/tkfont/Makefile
2021-05-06 08:42:15 -07:00

30 lines
749 B
Makefile

# Created by: Brett Taylor
PORTNAME= tkfont
PORTVERSION= 1.1
PORTREVISION= 3
CATEGORIES= x11-fonts tcl tk
MASTER_SITES= LOCAL/petef
MAINTAINER= portmaster@BSDforge.com
COMMENT= Tk based replacement for xfontsel
LICENSE= GPLv2
USES+= tk:run
RUN_DEPENDS+= xlsfonts:x11-fonts/xlsfonts
NO_BUILD= yes
post-patch:
${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|; s|#!/usr/X11/bin/wish|${WISH}|;' \
${WRKSRC}/tkfont
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/tkfont ${STAGEDIR}${PREFIX}/bin
@${MKDIR} ${STAGEDIR}${PREFIX}/lib/tkfont
.for file in COPYING Bugs.txt FileMenu.txt FindFont FontDirs.txt FontTypes.txt HelpText.txt README WhatsNew.txt
${INSTALL_DATA} ${WRKSRC}/${file} ${STAGEDIR}${PREFIX}/lib/tkfont
.endfor
.include <bsd.port.mk>