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


                                         
           

 
                     
                     
                 



                                                         
 
                                      
                                              
 


                                                   
                   
      
 
                   
                                                                               
                                                     




                                                                           
      
 
           



                                                         
 
           
                                       
                                                       
                       
                                                    
       
                        
                            
                          
                                                    
       
                                
                        
                                                               
       


                      
# New ports collection makefile for:	ewipe
# Date created:		17 October 1997
# Whom:			itojun@itojun.org
#
# $FreeBSD$
#

PORTNAME=	ewipe
PORTVERSION=	1.2.0
PORTREVISION=	2
CATEGORIES?=	misc tk84
MASTER_SITES=	http://www.jnet-jp.to/~sekisita/ewipe/ \
		http://www.carpetsmoker.net/distfiles/ \
		http://www.xs4all.nl/~tournoij/distfiles/

MAINTAINER?=	carpetsmoker@xs4all.nl
COMMENT?=	Tcl/tk-based presentation tool

.if defined(KANJI)
RUN_DEPENDS=	wish8.0jp:${PORTSDIR}/japanese/tk80
.else
USE_TK_RUN=	yes
.endif

NO_BUILD=	yes
TCLLIBS=	definefont.tcl edittable.tcl setpointer.tcl viewer.tcl tclIndex
MYPORTDOCS=	Changes.jp README README.jp dot.ewipe
EXAMPLES=	a1.gif a2.gif a3.gif a4.gif blue1.gif sample.ewp test.ewp \
		tutorial.ewp tutorial-e.ewp

.if defined(KANJI)
WISH=		${LOCALBASE}/bin/wish8.0jp
.endif

post-patch:
	@${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|g; \
		s|%%WISH%%|${WISH}|g; \
		s|PATH \.|PATH ${DATADIR}|;' \
			${WRKSRC}/ewipe

do-install:
	@${MKDIR} ${PREFIX}/share/ewipe
	${INSTALL_SCRIPT} ${WRKSRC}/ewipe ${PREFIX}/bin
.for file in ${TCLLIBS}
	${INSTALL_DATA} ${WRKSRC}/${file} ${DATADIR}
.endfor
.if !defined(NOPORTDOCS)
	@${MKDIR} ${DOCSDIR}
.for file in ${MYPORTDOCS}
	${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
.endfor
	@${MKDIR} ${EXAMPLESDIR}
.for file in ${EXAMPLES}
	${INSTALL_DATA} ${WRKSRC}/sample/${file} ${EXAMPLESDIR}
.endfor
.endif

.include <bsd.port.mk>