pkgsrc/cad/mpac/Makefile
2008-03-03 01:50:26 +00:00

26 lines
690 B
Makefile

# $NetBSD: Makefile,v 1.9 2008/03/03 01:50:27 jlam 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
PKG_DESTDIR_SUPPORT= user-destdir
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 ${DESTDIR}${PREFIX}/bin
${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/mpac
${INSTALL_DATA} ${WRKSRC}/patch.gif ${DESTDIR}${PREFIX}/share/mpac
.include "../../mk/bsd.pkg.mk"