aboutsummaryrefslogtreecommitdiffstats
path: root/archivers/dpkg/Makefile
blob: 1ca3a1bce8ad656d4ecf3cd8fd69726a1b8b19c1 (plain) (blame)
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
# New ports collection makefile for:    dpkg
# Date created:     1 April 2003
# Whom:         Hye-Shik Chang <perky@FreeBSD.org>
#
# $FreeBSD$

PORTNAME=   dpkg
PORTVERSION=    1.9.21
PORTREVISION=   2
CATEGORIES= archivers sysutils
MASTER_SITES=   http://ftp.debian.org/debian/pool/main/d/dpkg/
DISTNAME=   dpkg_${PORTVERSION}

MAINTAINER= perky@FreeBSD.org
COMMENT=    Package maintenance system for Debian

GNU_CONFIGURE=  yes
USE_GMAKE=  yes
USE_ICONV=  yes
USE_PERL5=  yes
USE_AUTOCONF_VER=   213
WRKSRC=     ${WRKDIR}/dpkg-${PORTVERSION}

CONFIGURE_ARGS= --with-libiconv-prefix=${LOCALBASE} \
        --with-admindir=${PREFIX}/var/dpkg
MAKE_ENV=   GETTEXTBASE=${LOCALBASE}

MAN1=       822-date.1 dpkg-architecture.1 dpkg-buildpackage.1 \
        dpkg-checkbuilddeps.1 dpkg-deb.1 dpkg-distaddfile.1 \
        dpkg-genchanges.1 dpkg-gencontrol.1 dpkg-name.1 \
        dpkg-parsechangelog.1 dpkg-shlibdeps.1 dpkg-source.1 \
        md5sum.1
MAN8=       cleanup-info.8 dpkg-divert.8 dpkg-scanpackages.8 \
        dpkg-scansources.8 dpkg-split.8 dpkg-statoverride.8 \
        dpkg.8 dselect.8 install-info.8 start-stop-daemon.8 \
        update-alternatives.8 update-rc.d.8

.if !defined(WITHOUT_NLS)
USE_GETTEXT=    yes
PLIST_SUB+= NLS=""
.else
CONFIGURE_ARGS+=--disable-nls
PLIST_SUB+= NLS="@comment "
.endif

.include <bsd.port.mk>