aboutsummaryrefslogtreecommitdiff
path: root/mail/faces
diff options
context:
space:
mode:
Diffstat (limited to 'mail/faces')
-rw-r--r--mail/faces/Makefile12
1 files changed, 5 insertions, 7 deletions
diff --git a/mail/faces/Makefile b/mail/faces/Makefile
index f282aee4c374..068e6a524f81 100644
--- a/mail/faces/Makefile
+++ b/mail/faces/Makefile
@@ -16,12 +16,14 @@ X11_DESC= X11/GTK support
RPLAY_DESC= rplay audio support
SOX_DESC= Sox audio support
-WANT_GNOME= yes
+NLS_USES= gettext
+NLS_CONFIGURE_ENABLE= nls
+
USE_LDCONFIG= yes
PORTDOCS= README
-.include <bsd.port.pre.mk>
+.include <bsd.port.options.mk>
.if ! ${PORT_OPTIONS:MX11}
PLIST_SUB+= X11="@comment "
@@ -37,10 +39,6 @@ CONFIGURE_ARGS= --enable-imap --enable-pop \
--with-facedir=${DATADIR}
.endif
-.if ! ${PORT_OPTIONS:MNLS}
-CONFIGURE_ARGS+=--disable-nls
-.endif
-
.ifdef WITH_NAS
CONFIGURE_ARGS+= --enable-audio --with-audio-cmd=${LOCALBASE}/bin/auplay
RUN_DEPENDS= auplay:${PORTSDIR}/audio/nas
@@ -98,4 +96,4 @@ do-install:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>