aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjgh <jgh@FreeBSD.org>2013-05-01 00:35:19 +0800
committerjgh <jgh@FreeBSD.org>2013-05-01 00:35:19 +0800
commitb50d1a90075ff178fe0186eafac259f00535d6d7 (patch)
treee170e3848cc3db499f68e623fb748d74cf9dd6f5
parent652d5066a1776c959b97a59eacfbe8a991b07b3e (diff)
downloadfreebsd-ports-gnome-b50d1a90075ff178fe0186eafac259f00535d6d7.tar.gz
freebsd-ports-gnome-b50d1a90075ff178fe0186eafac259f00535d6d7.tar.zst
freebsd-ports-gnome-b50d1a90075ff178fe0186eafac259f00535d6d7.zip
- conversion of USE_GETTEXT to USES framework
Approved by: portmgr (bapt@)
-rw-r--r--mail/mahogany/Makefile14
1 files changed, 5 insertions, 9 deletions
diff --git a/mail/mahogany/Makefile b/mail/mahogany/Makefile
index 4ef64f2b0123..cc099b51c84a 100644
--- a/mail/mahogany/Makefile
+++ b/mail/mahogany/Makefile
@@ -1,9 +1,5 @@
-# New ports collection makefile for: mahogany
-# Date created: 11 November 2000
-# Whom: Stephen Kiernan <sk-ports@vegamuse.org>
-#
+# Created by: Stephen Kiernan <sk-ports@vegamuse.org>
# $FreeBSD$
-#
PORTNAME= mahogany
PORTVERSION= 0.67
@@ -12,7 +8,7 @@ CATEGORIES= mail
MASTER_SITES= SF/${PORTNAME}/Mahogany/${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
-COMMENT= An X11 mail and news client
+COMMENT= X11 mail and news client
USE_BZIP2= yes
USE_GMAKE= yes
@@ -27,14 +23,14 @@ OPTIONS_DEFINE= NLS
MAN1= M.1 mahogany.1
-.include <bsd.port.pre.mk>
+.include <bsd.port.options.mk>
.if ${ARCH} == "amd64" || ${ARCH} == "sparc64"
BROKEN= Does not compile with GCC 4.2
.endif
.if ${PORT_OPTIONS:MNLS}
-USE_GETTEXT= yes
+USES+= gettext
PLIST_SUB+= NLS=""
.else
CONFIGURE_ARGS+=--disable-nls
@@ -50,4 +46,4 @@ post-patch:
@${REINPLACE_CMD} -e 's|$$(DATADIR)/locale|$$(DESTDIR)/share/locale|' \
${WRKSRC}/locale/Makefile
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>