ec8f6ad65a
motif.buildlink.mk to define it.
28 lines
760 B
Makefile
28 lines
760 B
Makefile
# $NetBSD: Makefile,v 1.2 2002/04/23 02:08:52 jlam Exp $
|
|
#
|
|
|
|
DISTNAME= electric-6.05
|
|
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_BUILDLINK_ONLY= YES
|
|
USE_X11BASE= 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} && ${ENV} ${MAKE_ENV} ${MAKE_PROGRAM} install.html
|
|
|
|
.include "../../mk/motif.buildlink.mk"
|
|
.include "../../mk/x11.buildlink.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|