freebsd-ports/misc/tkman/Makefile
Thomas Gellekum 53a4d58151 Upgrade to 2.2.
PR:		58132
Submitted by:	Klaus Robert Suetterlin <robert@mpe.mpg.de>
2003-10-20 08:40:35 +00:00

38 lines
965 B
Makefile

# New ports collection makefile for: tkman
# Date created: 27 Dec 1994
# Whom: Thomas Gellekum <tg@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= tkman
PORTVERSION= 2.2
CATEGORIES= misc tk84
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
MAINTAINER= ports@FreeBSD.org
COMMENT= A Tcl/Tk based manual browser
LIB_DEPENDS= tk84.1:${PORTSDIR}/x11-toolkits/tk84
RUN_DEPENDS= rman:${PORTSDIR}/textproc/rman \
glimpse:${PORTSDIR}/textproc/glimpse
USE_GMAKE= yes
USE_REINPLACE= yes
post-patch:
@${REINPLACE_CMD} -e "s;/usr/local/bin/wish;${PREFIX}/bin/wish8.4;" \
${WRKSRC}/contrib/tkmanclient
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>