aboutsummaryrefslogblamecommitdiff
path: root/misc/tkregexp/Makefile
blob: 5e029c12b8b9824625cfc205f65a9762660efeb6 (plain) (tree)
1
2
3
4
5
6
7
8
9
                                                  

                        
                   
                       

                                                        
                    
             
 
                                 
                                              
 
                           
                                                
 
                   
                   
                            
 
             
                                               
 
           
                                                                                                  

           
                                                                                                         

                      
# Created by: Patrick Seal <patseal@hyperhost.net>

PORTNAME=	tkregexp
PORTVERSION=	3.1
CATEGORIES=	misc tk
MASTER_SITES=	http://laurent.riesterer.free.fr/regexp/
DISTNAME=	visual_regexp-${PORTVERSION}
EXTRACT_SUFX=	.tcl
EXTRACT_ONLY=

MAINTAINER=	tcltk@FreeBSD.org
COMMENT=	Interactive regexp design tool

USES=		dos2unix tk
DOS2UNIX_FILES=	visual_regexp-${PORTVERSION}.tcl

NO_BUILD=	yes
NO_WRKSUBDIR=	yes
PLIST_FILES=	bin/tkregexp

post-extract:
	${CP} ${DISTDIR}/${DISTFILES} ${WRKSRC}

post-patch:
	${REINPLACE_CMD} -e "1s|^\(.*\)|#!${WISH}|; 2d" ${WRKSRC}/visual_regexp-${PORTVERSION}.tcl

do-install:
	${INSTALL_SCRIPT} ${WRKSRC}/visual_regexp-${PORTVERSION}.tcl ${STAGEDIR}${PREFIX}/bin/${PORTNAME}

.include <bsd.port.mk>