27 lines
740 B
Makefile
27 lines
740 B
Makefile
# $NetBSD: Makefile,v 1.10 2005/04/11 21:45:01 tv Exp $
|
|
#
|
|
|
|
DISTNAME= electric-7.00
|
|
CATEGORIES= cad
|
|
MASTER_SITES= ${MASTER_SITE_GNU:=electric/}
|
|
|
|
MAINTAINER= dmcmahill@NetBSD.org
|
|
HOMEPAGE= http://www.gnu.org/software/electric/electric.html
|
|
COMMENT= Electrical CAD system
|
|
|
|
USE_X11= YES
|
|
GNU_CONFIGURE= YES
|
|
|
|
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"
|