From 4682c2c61dcb7a63ae78f7c087ba5d0bda84f154 Mon Sep 17 00:00:00 2001 From: pawel Date: Wed, 10 Jul 2013 19:41:30 +0000 Subject: Convert my ports to current standards - Switch USE_GMAKE to USES=gmake - Define supported options so users can see them in config dialogs - Use OPTIONS_SUB for plist alteration - Convert to options macros for better readability - Use PORTDOCS where it makes sense --- archivers/dpkg/Makefile | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'archivers/dpkg/Makefile') diff --git a/archivers/dpkg/Makefile b/archivers/dpkg/Makefile index e144dd4c4aa9..ddb9a1819a5b 100644 --- a/archivers/dpkg/Makefile +++ b/archivers/dpkg/Makefile @@ -16,10 +16,9 @@ BUILD_DEPENDS= po4a:${PORTSDIR}/textproc/po4a RUN_DEPENDS= gmd5sum:${PORTSDIR}/sysutils/coreutils \ gpatch:${PORTSDIR}/devel/patch -USES= iconv +USES= gmake iconv USE_XZ= yes GNU_CONFIGURE= yes -USE_GMAKE= yes USE_PERL5= yes MAKE_JOBS_SAFE= yes WRKSRC= ${WRKDIR}/dpkg-${PORTVERSION} @@ -35,15 +34,16 @@ CONFIGURE_ARGS+=--with-admindir=${DPKGDIR} --libdir=${PREFIX}/libexec \ --disable-compiler-warnings CONFIGURE_ENV+= PERL_LIBDIR="${PREFIX}/${SITE_PERL_REL}" +OPTIONS_DEFINE= NLS +OPTIONS_SUB= yes + +NLS_CONFIGURE_OFF= --disable-nls +NLS_USES= gettext + .include .if ${PORT_OPTIONS:MNLS} MANLANG= "" de fr hu ja pl sv -USES+= gettext -PLIST_SUB+= NLS="" -.else -CONFIGURE_ARGS+=--disable-nls -PLIST_SUB+= NLS="@comment " .endif .include "Makefile.man" -- cgit