pkgsrc/cad/electric/Makefile
rillig f921d4e920 cad/*: let pkglint fix indentation, variable alignment, and LOCALBASE
pkglint -Wall -r -F cad

Manually fixed the indentation in cad/ghdl/Makefile because SITES.* was
(by the current definition) not long enough to count as an outlier line,
and because of this, all other lines were aligned to that line.
2019-06-08 11:04:27 +00:00

28 lines
746 B
Makefile

# $NetBSD: Makefile,v 1.21 2019/06/08 11:04:27 rillig 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
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@;${PREFIX};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"