diff options
| author | Baptiste Daroussin <bapt@FreeBSD.org> | 2013-05-06 09:07:58 +0000 |
|---|---|---|
| committer | Baptiste Daroussin <bapt@FreeBSD.org> | 2013-05-06 09:07:58 +0000 |
| commit | 86d16f2675fd705fa78870828e0e4c66cd5972d3 (patch) | |
| tree | 20ce818981a1c16901fb0154cfeb10e7887519be /sysutils/dar | |
| parent | - convert to USES for gettext (diff) | |
Finish converting sysutils from WITHOUT_NLS to PORT_OPTIONS:MNLS
While here convert bacula-server from USE_GETTEXT to USES=gettext
Notes
Notes:
svn path=/head/; revision=317491
Diffstat (limited to 'sysutils/dar')
| -rw-r--r-- | sysutils/dar/Makefile | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/sysutils/dar/Makefile b/sysutils/dar/Makefile index af73df2c2b9c..c8e81b68d673 100644 --- a/sysutils/dar/Makefile +++ b/sysutils/dar/Makefile @@ -1,9 +1,5 @@ -# New ports collection makefile for: dar -# Date created: 3 January 2004 -# Whom: Edson Brandi <ebrandi@fugspbr.org> -# +# Created by: Edson Brandi <ebrandi@fugspbr.org> # $FreeBSD$ -# PORTNAME= dar PORTVERSION= 2.3.11 @@ -23,7 +19,9 @@ CPPFLAGS+= -DHAVE_DECL_GETOPT=0 MAN1= dar.1 dar_cp.1 dar_manager.1 dar_slave.1 dar_xform.1 -.if !defined(WITHOUT_NLS) +.include <bsd.port.options.mk> + +.if ${PORT_OPTIONS:MNLS} USES+= gettext PLIST_SUB+= NLS="" CPPFLAGS+= -I${LOCALBASE}/include @@ -35,7 +33,7 @@ PLIST_SUB+= NLS="@comment " .endif post-install: -.if !defined(NOPORTDOCS) +.if ${PORT_OPTIONS:MDOCS} @${MKDIR} ${DOCSDIR} cd ${WRKSRC}/doc && ${INSTALL_DATA} *.html *.dtd *.txt *.jpg [CR]* ${DOCSDIR} @${MKDIR} ${DOCSDIR}/samples |
