blob: 461a36b3cfd457f0acbfb654a84b7e19d02c73d0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
|
# $NetBSD: Makefile,v 1.24 2012/10/03 21:56:42 wiz Exp $
#
DISTNAME= dpkg_1.16.3
PKGNAME= dpkg-1.16.3
PKGREVISION= 2
CATEGORIES= misc
MASTER_SITES= ${MASTER_SITE_DEBIAN:=pool/main/d/dpkg/}
EXTRACT_SUFX= .tar.bz2
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://wiki.debian.org/Teams/Dpkg
COMMENT= Package maintenance system for Debian
PKG_DESTDIR_SUPPORT= user-destdir
BUILD_DEPENDS+= po4a>=0:../../textproc/po4a
BUILD_DEPENDS+= gtar>=1.26:../../archivers/gtar
WRKSRC= ${WRKDIR}/${PKGNAME_NOREV}
BUILD_DEFS+= VARBASE
USE_PKGLOCALEDIR= yes
GNU_CONFIGURE= yes
USE_LANGUAGES= c c++
USE_TOOLS+= gmake msgfmt perl: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
.include "../../mk/bsd.prefs.mk"
.if ${OPSYS} == "Darwin"
CONFIGURE_ARGS+= --enable-linker-optimisations=no
.endif
.include "../../archivers/bzip2/buildlink3.mk"
.include "../../converters/libiconv/buildlink3.mk"
.include "../../devel/gettext-lib/buildlink3.mk"
.include "../../devel/ncurses/buildlink3.mk"
.include "../../devel/zlib/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
|