summaryrefslogtreecommitdiff
path: root/misc/dpkg/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'misc/dpkg/Makefile')
-rw-r--r--misc/dpkg/Makefile18
1 files changed, 11 insertions, 7 deletions
diff --git a/misc/dpkg/Makefile b/misc/dpkg/Makefile
index 56bfe219c04..a008facfd3e 100644
--- a/misc/dpkg/Makefile
+++ b/misc/dpkg/Makefile
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.15 2006/05/27 20:54:41 wiz Exp $
+# $NetBSD: Makefile,v 1.16 2007/12/02 09:38:49 rillig Exp $
#
-DISTNAME= dpkg_1.10.28
-PKGNAME= dpkg-1.10.28
+DISTNAME= dpkg_1.13.25
+PKGNAME= dpkg-1.13.25
CATEGORIES= misc
MASTER_SITES= ${MASTER_SITE_DEBIAN:=pool/main/d/dpkg/}
@@ -10,7 +10,10 @@ MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://packages.debian.org/stable/base/dpkg.html
COMMENT= Package maintenance system for Debian
+BUILD_DEPENDS+= po4a>=0:../../textproc/po4a
+
WRKSRC= ${WRKDIR}/${PKGNAME_NOREV}
+BUILD_DEFS+= VARBASE
USE_PKGLOCALEDIR= yes
GNU_CONFIGURE= yes
@@ -18,16 +21,17 @@ USE_LANGUAGES= c c++
USE_TOOLS+= gmake msgfmt perl
USE_NCURSES= yes # needs tigetstr()
-REPLACE_PERL= scripts/*.pl split/*.pl
-
-ADMIN_DIR= ${PREFIX}/var/db
+REPLACE_PERL= scripts/*.pl
CONFIGURE_ARGS+= --with-zlib
CONFIGURE_ARGS+= --with-start-stop-daemon=no
CONFIGURE_ARGS+= --with-sgml-doc=no
-CONFIGURE_ARGS+= --with-admindir=${ADMIN_DIR:Q}
+CONFIGURE_ARGS+= --with-admindir=${VARBASE}/db/dpkg
CONFIGURE_ARGS+= --sysconfdir=${PREFIX}/share/dpkg
+post-extract:
+ cd ${FILESDIR} && cp obstack.* ${WRKSRC}/lib/
+
.include "../../archivers/bzip2/buildlink3.mk"
.include "../../converters/libiconv/buildlink3.mk"
.include "../../devel/gettext-lib/buildlink3.mk"