summaryrefslogtreecommitdiff
path: root/cad/mpac/Makefile
blob: d5653805fbe5139f38adcdf0bafde4355d035347 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# $NetBSD: Makefile,v 1.8 2006/02/05 23:08:22 joerg Exp $
#

DISTNAME=	mpac-0.2.2
PKGREVISION=	2
CATEGORIES=	cad
MASTER_SITES=	http://goemon.polito.it/ftp/pub/software/lethal/Elettronica/antenna/

MAINTAINER=	dmcmahill@NetBSD.org
COMMENT=	Microstrip Patch Antenna Calculator

DEPENDS+=	tk>=8.1:../../x11/tk

INSTALLATION_DIRS=	bin

do-build:
	${SED} 's;patch.gif;${PREFIX}/share/mpac/patch.gif;g' ${WRKSRC}/mpac.tcl > ${WRKSRC}/mpac

do-install:
	${INSTALL_SCRIPT} ${WRKSRC}/mpac ${PREFIX}/bin
	${INSTALL_DATA_DIR} ${PREFIX}/share/mpac
	${INSTALL_DATA} ${WRKSRC}/patch.gif ${PREFIX}/share/mpac

.include "../../mk/bsd.pkg.mk"