1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-26 05:02:18 +00:00
freebsd-ports/misc/tkman/Makefile
Emanuel Haupt 658f97193f - Support USE_TK
PR:		161635
Submitted by:	KATO Tsuguru <tkato432@yahoo.com>
2011-10-18 13:06:33 +00:00

49 lines
1.3 KiB
Makefile

# New ports collection makefile for: tkman
# Date created: 27 Dec 1994
# Whom: Thomas Gellekum <tg@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= tkman
PORTVERSION= 2.2
PORTREVISION= 2
CATEGORIES= misc tk
MASTER_SITES= SF
MAINTAINER= ports@FreeBSD.org
COMMENT= A Tcl/Tk based manual browser
RUN_DEPENDS= glimpse:${PORTSDIR}/textproc/glimpse \
rman:${PORTSDIR}/textproc/rman
USE_TK= yes
USE_GMAKE= yes
USE_DOS2UNIX= yes
MAKE_ARGS= WISH="${WISH}" \
texinfodir="${PREFIX}/${INFO_PATH}" \
gzgrep="\"/usr/bin/zgrep -E\"" \
mastermen="\"/usr/share/man ${PREFIX}/man ${LOCALBASE}/man\"" \
masterbin="\"/usr/bin ${PREFIX}/bin ${LOCALBASE}/bin\"" \
manformat="{groff -Tlatin1 -te -mandoc}" \
manprint="{groff -mandoc -Tps -te -l}"
post-patch:
@${REINPLACE_CMD} -e 's|/usr/local/bin/wish|${WISH}|' \
${WRKSRC}/contrib/tkmanclient
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/tkman ${PREFIX}/bin
${INSTALL_SCRIPT} ${WRKSRC}/retkman ${PREFIX}/bin
post-install:
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/manual.html ${DOCSDIR}
.endif
${INSTALL_SCRIPT} ${WRKSRC}/contrib/tkmanclient ${PREFIX}/bin
@${MKDIR} ${PREFIX}/etc/periodic/weekly
${INSTALL_SCRIPT} ${FILESDIR}/310.index_manpages ${PREFIX}/etc/periodic/weekly
.include <bsd.port.mk>