blob: c7e35ced538acec883bf3858ff583a31ce91cf92 (
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
25
26
27
28
29
30
|
# $NetBSD: Makefile,v 1.19 2011/12/09 14:36:33 drochner Exp $
#
DISTNAME= electric-7.00
PKGREVISION= 4
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
PKG_DESTDIR_SUPPORT= user-destdir
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
INSTALL_TARGET= install install.html
INSTALLATION_DIRS= bin
.include "../../mk/motif.buildlink3.mk"
.include "../../mk/pthread.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
|