aboutsummaryrefslogtreecommitdiff
path: root/misc/lifelines/Makefile
diff options
context:
space:
mode:
authorKirill Ponomarev <krion@FreeBSD.org>2004-07-11 10:22:46 +0000
committerKirill Ponomarev <krion@FreeBSD.org>2004-07-11 10:22:46 +0000
commit066a44e530dcfa65ac33962e2d3f404fd760adc7 (patch)
treed1859a993523573db922e30f4df436c95895fdd3 /misc/lifelines/Makefile
parent037281d66e93469b2b0f6e355259f29176cd1f54 (diff)
downloadports-066a44e530dcfa65ac33962e2d3f404fd760adc7.tar.gz
ports-066a44e530dcfa65ac33962e2d3f404fd760adc7.zip
Notes
Diffstat (limited to 'misc/lifelines/Makefile')
-rw-r--r--misc/lifelines/Makefile9
1 files changed, 8 insertions, 1 deletions
diff --git a/misc/lifelines/Makefile b/misc/lifelines/Makefile
index 54ce5cfd1f44..c3d5e241665c 100644
--- a/misc/lifelines/Makefile
+++ b/misc/lifelines/Makefile
@@ -16,13 +16,20 @@ COMMENT= An advanced genealogical system
GNU_CONFIGURE= yes
CONFIGURE_TARGET=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
-USE_GETTEXT= yes
USE_ICONV= yes
USE_BZIP2= yes
USE_GETOPT_LONG=yes
MAN1= btedit.1 dbverify.1 llines.1
+.if !defined(WITHOUT_NLS)
+USE_GETTEXT= yes
+PLIST_SUB+= NLS=""
+.else
+CONFIGURE_ARGS+=--disable-nls
+PLIST_SUB+= NLS="@comment "
+.endif
+
post-install:
.if !defined(NOPORTDOCS)
.for file in btedit.1 dbverify.1 llines.1