pkgsrc/cad/electric/Makefile
rillig ffe83de7b1 all: migrate several HOMEPAGEs to https
pkglint --only "https instead of http" -r -F

With manual adjustments afterwards since pkglint 19.4.4 fixed a few
indentations in unrelated lines.

This mainly affects projects hosted at SourceForce, as well as
freedesktop.org, CTAN and GNU.
2020-01-18 23:30:05 +00:00

28 lines
747 B
Makefile

# $NetBSD: Makefile,v 1.22 2020/01/18 23:30:10 rillig Exp $
#
DISTNAME= electric-7.00
PKGREVISION= 4
CATEGORIES= cad
MASTER_SITES= ${MASTER_SITE_GNU:=electric/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= https://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"