aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/progsreiserfs/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils/progsreiserfs/Makefile')
-rw-r--r--sysutils/progsreiserfs/Makefile14
1 files changed, 6 insertions, 8 deletions
diff --git a/sysutils/progsreiserfs/Makefile b/sysutils/progsreiserfs/Makefile
index ee7b793925c3..f5808bf1e55e 100644
--- a/sysutils/progsreiserfs/Makefile
+++ b/sysutils/progsreiserfs/Makefile
@@ -1,9 +1,5 @@
-# New ports collection makefile for: progsreiserfs
-# Date created: May 13 2004
-# Whom: Florent Thoumie <flz@xbsd.org>
-#
+# Created by: Florent Thoumie <flz@xbsd.org>
# $FreeBSD$
-#
PORTNAME= progsreiserfs
PORTVERSION= 0.3.1.r8
@@ -22,12 +18,14 @@ CFLAGS+= -Dgetopt_long_only=getopt_long
EXTRA_PATCHES= ${FILESDIR}/extrapatch-progsreiserfs::libmisc::Makefile.in
-.if defined(WITHOUT_NLS)
-CONFIGURE_ARGS+=--disable-nls
-.else
+.include <bsd.port.options.mk>
+
+.if ${PORT_OPTIONS:MNLS}
USES+= gettext
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
+.else
+CONFIGURE_ARGS+=--disable-nls
.endif
MAN8= cpfs.reiserfs.8 mkfs.reiserfs.8 reiserfs.8 \