aboutsummaryrefslogblamecommitdiff
path: root/cad/tkgate/Makefile
blob: f7a1e894251afb68581d54f5a1c847f7463f2431 (plain) (tree)
1
2
3
4
5
6
7
8
                      
                   
                   
                                                                     
 
                                 
                                                      
                                   



                                 


                                                       
                                                                         

                       
                     
                    
                   
 
           



                                                           
                                      
 
                      
PORTNAME=	tkgate
PORTVERSION=	2.1
CATEGORIES=	cad
MASTER_SITES=	http://cdn.bitbucket.org/starling13/tkgate/downloads/

MAINTAINER=	ports@FreeBSD.org
COMMENT=	Event driven digital circuit simulator
WWW=		https://tkgate.org/

LICENSE=	GPLv2
LICENSE_FILE=	${WRKSRC}/COPYING

LIB_DEPENDS=	libfontconfig.so:x11-fonts/fontconfig \
		libfreetype.so:print/freetype2

USES=		autoreconf gnome iconv:translit libtool pkgconfig tk xorg

USE_XORG=	x11 xft
USE_GNOME=	pango
OPTIONS_DEFINE=	DOCS
GNU_CONFIGURE=	yes

post-patch:
	@${REINPLACE_CMD} -e \
		's|%%TCL_VER%%|${TCL_VER}|g; \
		s|%%TCL_INCLUDEDIR%%|${TCL_INCLUDEDIR}|g; \
		s|%%LOCALBASE%%|${LOCALBASE}|g' \
		${WRKSRC}/configure.ac

.include <bsd.port.mk>