b18fb03885
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.
30 lines
629 B
Makefile
30 lines
629 B
Makefile
# $NetBSD: Makefile,v 1.21 2015/11/25 12:47:32 jperkin Exp $
|
|
#
|
|
|
|
DISTNAME= jamjar-0.7.1
|
|
CATEGORIES= archivers
|
|
MASTER_SITES= # none
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= http://wonka.acunia.com/
|
|
COMMENT= Acunia version of the jar archiver
|
|
|
|
BUILD_DEPENDS+= acunia-jam>=1.0:../../devel/acunia-jam
|
|
|
|
WRKSRC= ${WRKDIR}/jamjar
|
|
|
|
JAM_COMMAND= \
|
|
cd ${WRKSRC} && \
|
|
${SETENV} ${MAKE_ENV} \
|
|
${LOCALBASE}/bin/jam \
|
|
-sPREFIX="${DESTDIR}${PREFIX}" \
|
|
-sCFLAGS="${CFLAGS}"
|
|
|
|
do-build:
|
|
${JAM_COMMAND}
|
|
|
|
do-install:
|
|
${JAM_COMMAND} install
|
|
|
|
.include "../../devel/zlib/buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|