pkgsrc/misc/dpkg/Makefile
wiz 7eeb51b534 Bump for perl-5.20.0.
Do it for all packages that
* mention perl, or
* have a directory name starting with p5-*, or
* depend on a package starting with p5-
like last time, for 5.18, where this didn't lead to complaints.
Let me know if you have any this time.
2014-05-29 23:35:13 +00:00

58 lines
1.6 KiB
Makefile

# $NetBSD: Makefile,v 1.30 2014/05/29 23:36:57 wiz Exp $
#
DISTNAME= dpkg_1.16.10
PKGNAME= ${DISTNAME:S/_/-/}
PKGREVISION= 1
CATEGORIES= misc
MASTER_SITES= ${MASTER_SITE_DEBIAN:=pool/main/d/dpkg/}
EXTRACT_SUFX= .tar.xz
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://wiki.debian.org/Teams/Dpkg
COMMENT= Package maintenance system for Debian
LICENSE= gnu-gpl-v2
BUILD_DEPENDS+= po4a>=0:../../textproc/po4a
WRKSRC= ${WRKDIR}/${PKGNAME_NOREV}
BUILD_DEFS+= VARBASE
USE_PKGLOCALEDIR= yes
GNU_CONFIGURE= yes
USE_LANGUAGES= c c++
USE_TOOLS+= gmake msgfmt perl:run gtar:run
USE_NCURSES= yes # needs tigetstr()
REPLACE_PERL= scripts/*.pl
REPLACE_PERL+= dselect/methods/ftp/install
REPLACE_PERL+= dselect/methods/ftp/setup
REPLACE_PERL+= dselect/methods/ftp/update
CONFIGURE_ARGS+= --with-zlib
CONFIGURE_ARGS+= --disable-start-stop-daemon
CONFIGURE_ARGS+= --with-admindir=${VARBASE}/db/dpkg
CONFIGURE_ARGS+= --sysconfdir=${PREFIX}/share/dpkg
# or uses GCC version specific warning flags unconditionally.
CONFIGURE_ARGS+= --disable-compiler-warnings
.include "../../mk/bsd.prefs.mk"
.if ${OPSYS} == "Darwin"
CONFIGURE_ARGS+= --enable-linker-optimisations=no
.endif
SUBST_CLASSES+= tool-path
SUBST_STAGE.tool-path= pre-build
SUBST_VARS.tool-path= GTAR
SUBST_FILES.tool-path= lib/dpkg/dpkg.h
.include "../../archivers/bzip2/buildlink3.mk"
.include "../../archivers/xz/buildlink3.mk"
.include "../../converters/libiconv/buildlink3.mk"
.include "../../devel/gettext-lib/buildlink3.mk"
.include "../../devel/ncurses/buildlink3.mk"
.include "../../devel/zlib/buildlink3.mk"
PERL5_CONFIGURE= no
.include "../../lang/perl5/module.mk"
.include "../../mk/bsd.pkg.mk"