pkgsrc/sysutils/libisoburn/Makefile
jperkin 2e912f3292 Remove mk/find-prefix.mk usage from the sysutils 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.
2015-11-25 12:53:29 +00:00

35 lines
1 KiB
Makefile

# $NetBSD: Makefile,v 1.3 2015/11/25 12:53:29 jperkin Exp $
DISTNAME= libisoburn-1.3.8
#PKGNAME= ${DISTNAME:S/.pl/pl/}
CATEGORIES= sysutils
MASTER_SITES= http://files.libburnia-project.org/releases/
MAINTAINER= ryoon@NetBSD.org
HOMEPAGE= http://libburnia-project.org/wiki/Libisoburn
COMMENT= This is the libisoburn library and xorriso commands
LICENSE= gnu-gpl-v2
DEPENDS+= tcl-[0-9]*:../../lang/tcl
DEPENDS+= tk-[0-9]*:../../x11/tk
WRKSRC= ${WRKDIR}/${DISTNAME:C/.pl[0-9]*//}
GNU_CONFIGURE= yes
USE_LIBTOOL= yes
USE_TOOLS+= pkg-config
INFO_FILES= yes
PKGCONFIG_OVERRIDE+= libisoburn-1.pc.in
SUBST_CLASSES+= fix-wish
SUBST_STAGE.fix-wish= pre-configure
SUBST_MESSAGE.fix-wish= Fixing tcl wish
SUBST_FILES.fix-wish+= frontend/xorriso-tcltk
SUBST_SED.fix-wish+= -e 's,/usr/bin/wish,${LOCALBASE}/bin/wish,'
.include "../../sysutils/libisofs/buildlink3.mk"
.include "../../sysutils/libburn/buildlink3.mk"
.include "../../devel/zlib/buildlink3.mk"
.include "../../mk/readline.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"