mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-20 00:21:35 +00:00
418bb76f1e
Approved by: portmgr (blanket)
49 lines
1.1 KiB
Makefile
49 lines
1.1 KiB
Makefile
PORTNAME= dpkg
|
|
PORTVERSION= 1.19.8
|
|
PORTREVISION= 1
|
|
CATEGORIES= archivers sysutils
|
|
MASTER_SITES= DEBIAN_POOL
|
|
DISTNAME= dpkg_${PORTVERSION}
|
|
|
|
MAINTAINER= ndowens04@gmail.com
|
|
COMMENT= Debian package maintenance system
|
|
WWW= https://packages.debian.org/dpkg
|
|
|
|
LICENSE= GPLv2+
|
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
|
|
|
BUILD_DEPENDS= po4a:textproc/po4a \
|
|
gtar:archivers/gtar \
|
|
gpatch:devel/patch
|
|
RUN_DEPENDS= gtar:archivers/gtar \
|
|
gpatch:devel/patch
|
|
|
|
USES= compiler:c11 cpe gmake iconv libtool ncurses perl5 pkgconfig \
|
|
tar:xz
|
|
CPE_VENDOR= debian
|
|
USE_CXXSTD= c++14
|
|
WRKSRC= ${WRKDIR}/dpkg-${PORTVERSION}
|
|
DPKGDIR?= /var/db/dpkg
|
|
PLIST_SUB= DPKGDIR=${DPKGDIR}
|
|
|
|
GNU_CONFIGURE= yes
|
|
GNU_CONFIGURE_MANPREFIX=${PREFIX}/share
|
|
CONFIGURE_ARGS= --with-admindir=${DPKGDIR} \
|
|
--libdir=${PREFIX}/libexec \
|
|
--with-libintl-prefix=${LOCALBASE} \
|
|
--with-logdir=/var/log \
|
|
--with-libmd
|
|
CONFIGURE_ENV= PERL_LIBDIR="${PREFIX}/${SITE_PERL_REL}"
|
|
|
|
OPTIONS_DEFINE= NLS
|
|
OPTIONS_SUB= yes
|
|
|
|
NLS_CONFIGURE_ENABLE= nls
|
|
NLS_USES= gettext-runtime
|
|
|
|
post-install:
|
|
(cd ${STAGEDIR}${DPKGDIR} && ${TOUCH} available.sample \
|
|
diversions.sample statoverride.sample status.sample)
|
|
|
|
.include <bsd.port.mk>
|