pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/print/electrix electrix: switch to waf.mk



details:   https://anonhg.NetBSD.org/pkgsrc/rev/d2942b717b49
branches:  trunk
changeset: 449935:d2942b717b49
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Thu Apr 08 08:44:12 2021 +0000

description:
electrix: switch to waf.mk

Now honors CFLAGS + LDFLAGS.

Bump PKGREVISION.

diffstat:

 print/electrix/Makefile |  18 +++++-------------
 1 files changed, 5 insertions(+), 13 deletions(-)

diffs (35 lines):

diff -r 9a561a16409f -r d2942b717b49 print/electrix/Makefile
--- a/print/electrix/Makefile   Thu Apr 08 08:43:34 2021 +0000
+++ b/print/electrix/Makefile   Thu Apr 08 08:44:12 2021 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.78 2021/04/08 06:19:47 adam Exp $
+# $NetBSD: Makefile,v 1.79 2021/04/08 08:44:12 wiz Exp $
 
 DISTNAME=      electrix-0.2.0
-PKGREVISION=   73
+PKGREVISION=   74
 CATEGORIES=    print
 MASTER_SITES=  ${MASTER_SITE_SOURCEFORGE:=electrix/}
 EXTRACT_SUFX=  .tar.bz2
@@ -14,18 +14,10 @@
 USE_TOOLS+=    intltool pkg-config
 PYTHON_VERSIONS_ACCEPTED=      27
 
-do-configure:
-       cd ${WRKSRC} && \
-       ${PYTHONBIN} ./waf configure --prefix=${DESTDIR}${PREFIX}
+WAF_HAS_LIBDIR=        no
+WAF_HAS_MANDIR=        no
 
-do-build:
-       cd ${WRKSRC} && \
-       ${PYTHONBIN} ./waf build
-
-do-install:
-       cd ${WRKSRC} && \
-       ${PYTHONBIN} ./waf install
-
+.include "../../devel/waf/waf.mk"
 .include "../../print/poppler-glib/buildlink3.mk"
 .include "../../print/libspectre/buildlink3.mk"
 .include "../../sysutils/dbus-glib/buildlink3.mk"



Home | Main Index | Thread Index | Old Index