summaryrefslogtreecommitdiff
path: root/graphics/mypaint
diff options
context:
space:
mode:
authorjperkin <jperkin>2015-11-25 12:50:43 +0000
committerjperkin <jperkin>2015-11-25 12:50:43 +0000
commit43680f8153e06ee0f2889fd8a929c68f80aa3bd6 (patch)
tree86eb059496354ccd274b3fd95c2821669fe397fd /graphics/mypaint
parent8b766eebf86aa37d91d14fe111fde6db343d185a (diff)
downloadpkgsrc-43680f8153e06ee0f2889fd8a929c68f80aa3bd6.tar.gz
Remove mk/find-prefix.mk usage from the graphics category.
The find-prefix infrastructure was required in a pkgviews world where packages installed from pkgsrc could have different installation prefixes, and this was a way for a dependency prefix to be determined. Now that pkgviews has been removed there is no longer any need for the overhead of this infrastructure. Instead we use BUILDLINK_PREFIX.pkg for dependencies pulled in via buildlink, or LOCALBASE/PREFIX where the dependency is coming from pkgsrc. Provides a reasonable performance win due to the reduction of `pkg_info -qp` calls, some of which were redundant anyway as they were duplicating the same information provided by BUILDLINK_PREFIX.pkg.
Diffstat (limited to 'graphics/mypaint')
-rw-r--r--graphics/mypaint/Makefile9
1 files changed, 3 insertions, 6 deletions
diff --git a/graphics/mypaint/Makefile b/graphics/mypaint/Makefile
index f2c2b90f313..49a84fe977f 100644
--- a/graphics/mypaint/Makefile
+++ b/graphics/mypaint/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.20 2015/04/25 14:23:17 tnn Exp $
+# $NetBSD: Makefile,v 1.21 2015/11/25 12:50:44 jperkin Exp $
DISTNAME= mypaint-1.1.0
PKGREVISION= 1
@@ -21,9 +21,6 @@ USE_TOOLS+= bash:run msgfmt pkg-config
PYTHON_VERSIONED_DEPENDENCIES= cairo
PYTHON_VERSIONS_INCOMPATIBLE= 33 34 # py-gtk2
-FIND_PREFIX:= SCONSDIR=scons
-.include "../../mk/find-prefix.mk"
-
USE_PKGLOCALEDIR= yes
SUBST_CLASSES+= python
@@ -38,12 +35,12 @@ REPLACE_BASH= brushes/label-brush-mypaint.sh
do-build:
cd ${WRKSRC} && cd ${BUILD_DIRS} && \
${SETENV} ${MAKE_ENV} \
- ${SCONSDIR}/bin/scons prefix=${DESTDIR}${PREFIX}
+ ${LOCALBASE}/bin/scons prefix=${DESTDIR}${PREFIX}
do-install:
cd ${WRKSRC} && cd ${INSTALL_DIRS} && \
${SETENV} ${MAKE_ENV} \
- ${SCONSDIR}/bin/scons prefix=${DESTDIR}${PREFIX} install
+ ${LOCALBASE}/bin/scons prefix=${DESTDIR}${PREFIX} install
.include "../../graphics/hicolor-icon-theme/buildlink3.mk"
.include "../../sysutils/desktop-file-utils/desktopdb.mk"