pkgsrc/cad/electric/Makefile
2007-05-09 02:42:25 +00:00

28 lines
773 B
Makefile

# $NetBSD: Makefile,v 1.16 2007/05/09 02:42:25 dmcmahill Exp $
#
DISTNAME= electric-7.00
PKGREVISION= 2
CATEGORIES= cad
MASTER_SITES= ${MASTER_SITE_GNU:=electric/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.gnu.org/software/electric/electric.html
COMMENT= Electrical CAD system
GNU_CONFIGURE= YES
USE_LANGUAGES= c c++
post-patch:
${MV} ${WRKSRC}/src/include/config.h ${WRKSRC}/src/include/config.h.bak
${SED} -e 's;@prefix@;${PREFIX};g' \
-e 's;@localbase@;${LOCALBASE};g' \
< ${WRKSRC}/src/include/config.h.bak \
> ${WRKSRC}/src/include/config.h
post-install:
cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE_PROGRAM} install.html
.include "../../mk/motif.buildlink3.mk"
.include "../../mk/pthread.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"