diff options
author | Pawel Pekala <pawel@FreeBSD.org> | 2013-07-22 21:23:02 +0000 |
---|---|---|
committer | Pawel Pekala <pawel@FreeBSD.org> | 2013-07-22 21:23:02 +0000 |
commit | ea084d38b093d94a8e7000b31b7ff4f2293da536 (patch) | |
tree | 7db69d13599657cc15a07574f7b745240b3af302 /archivers | |
parent | 870a17e8f9d398667572756ed96f67726573cdb3 (diff) | |
download | ports-ea084d38b093d94a8e7000b31b7ff4f2293da536.tar.gz ports-ea084d38b093d94a8e7000b31b7ff4f2293da536.zip |
Notes
Diffstat (limited to 'archivers')
-rw-r--r-- | archivers/dpkg/Makefile | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/archivers/dpkg/Makefile b/archivers/dpkg/Makefile index ddb9a1819a5b..2fe76c7a07f0 100644 --- a/archivers/dpkg/Makefile +++ b/archivers/dpkg/Makefile @@ -3,6 +3,7 @@ PORTNAME= dpkg PORTVERSION= 1.16.10 +PORTREVISION= 1 CATEGORIES= archivers sysutils MASTER_SITES= ${MASTER_SITE_DEBIAN_POOL} DISTNAME= dpkg_${PORTVERSION} @@ -13,14 +14,14 @@ COMMENT= Debian package maintenance system LICENSE= GPLv2 BUILD_DEPENDS= po4a:${PORTSDIR}/textproc/po4a -RUN_DEPENDS= gmd5sum:${PORTSDIR}/sysutils/coreutils \ - gpatch:${PORTSDIR}/devel/patch +RUN_DEPENDS= gtar:${PORTSDIR}/archivers/gtar \ + gpatch:${PORTSDIR}/devel/patch \ + gmd5sum:${PORTSDIR}/sysutils/coreutils USES= gmake iconv USE_XZ= yes GNU_CONFIGURE= yes USE_PERL5= yes -MAKE_JOBS_SAFE= yes WRKSRC= ${WRKDIR}/dpkg-${PORTVERSION} DPKGDIR?= /var/db/dpkg @@ -51,6 +52,10 @@ MANLANG= "" de fr hu ja pl sv post-patch: @${REINPLACE_CMD} 's|-t$$host|-t${ARCH}-freebsd|g' \ ${WRKSRC}/configure + @${REINPLACE_CMD} '/^#define TAR/ s|tar|g&|' \ + ${WRKSRC}/lib/dpkg/dpkg.h + @${REINPLACE_CMD} -E 's/(md5|sha1|sha256)sum/g&/g' \ + ${WRKSRC}/scripts/Dpkg/Checksums.pm post-install: ${MV} ${PREFIX}/sbin/install-info ${PREFIX}/sbin/dpkg-install-info |