summaryrefslogblamecommitdiff
path: root/devel/tkcvs/Makefile
blob: dd70e9db478c828fd0430239125c1065a6b2859b (plain) (tree)
1
2
3
4
5
6
7
8
9
10
                                             
                                   
                                         
 
           
 
 
                     

                     
                                              
                                                  
 
                                 
                                                
 
                                                    
 
                   
                       
                   
 

                         

           


                                                                           

           
                                                                                 

             
                        
                                          
                                                                         
      

                      
# New ports collection makefile for:	tkcvs
# Date created:         02 Aug 1996
# Whom:                 shanee@augusta.de
#
# $FreeBSD$
#

PORTNAME=	tkcvs
PORTVERSION=	7.1.2
CATEGORIES=	devel
MASTER_SITES=	http://www.twobarleycorns.net/
DISTNAME=	${PORTNAME}_${PORTVERSION:S/./_/g}

MAINTAINER=	shanee@augusta.de
COMMENT=	Tcl/Tk frontends to CVS and diff

LIB_DEPENDS=	tk84.1:${PORTSDIR}/x11-toolkits/tk84

NO_BUILD=	yes
MAN1=		tkcvs.1
USE_REINPLACE=	yes

WISH=		wish8\.4
TCLSH=		tclsh8\.4

post-patch:
	@${REINPLACE_CMD} -e 's|wish|${WISH}|g' ${WRKSRC}/tkcvs/tkcvs.blank
	@${REINPLACE_CMD} -e 's|wish|${WISH}|g' ${WRKSRC}/tkdiff/tkdiffb
	@${REINPLACE_CMD} -e 's|wish|${WISH}|g' ${WRKSRC}/doinstall.tcl

do-install:
	cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${TCLSH} doinstall.tcl -nox ${PREFIX}

post-install:
.if !defined{NOPORTDOCS}
	${MKDIR} ${PREFIX}/share/doc/tkcvs
	${INSTALL_DATA} ${WRKSRC}/README.tkcvs ${PREFIX}/share/doc/tkcvs/
.endif

.include <bsd.port.mk>