diff options
author | vs <vs@FreeBSD.org> | 2004-05-17 14:42:26 +0800 |
---|---|---|
committer | vs <vs@FreeBSD.org> | 2004-05-17 14:42:26 +0800 |
commit | 1269398cda1a57f46959bc425ab11119aa31555e (patch) | |
tree | 6644713ca59f4fcf2569e62b19be4ceff6bb9217 /japanese/mutt-devel/Makefile | |
parent | 7be91a45fbce7c4d53f14587f32023f5834f72af (diff) | |
download | freebsd-ports-gnome-1269398cda1a57f46959bc425ab11119aa31555e.tar.gz freebsd-ports-gnome-1269398cda1a57f46959bc425ab11119aa31555e.tar.zst freebsd-ports-gnome-1269398cda1a57f46959bc425ab11119aa31555e.zip |
- WITHOUT_NLS-knob [1]
- Register CONFLICTS [2]
- Bring PORTNAME in line with mail/mutt-devel ("mutt" -> "mutt-devel") [2]
PR: ports/64836 [1]
Submitted by: Katsura Matsumoto
Approved by: SHIOZAKI Takehiko (maintainer) [1,2]
Diffstat (limited to 'japanese/mutt-devel/Makefile')
-rw-r--r-- | japanese/mutt-devel/Makefile | 21 |
1 files changed, 12 insertions, 9 deletions
diff --git a/japanese/mutt-devel/Makefile b/japanese/mutt-devel/Makefile index 86a9b0b3915f..58c05c4a3bf3 100644 --- a/japanese/mutt-devel/Makefile +++ b/japanese/mutt-devel/Makefile @@ -7,7 +7,7 @@ # WITH_MUTT_CYRUS_SASL: if defined, 'Cyrus sasl' support. # -PORTNAME= mutt +PORTNAME= mutt-devel PORTVERSION= ${VERSION}.j${JP_VERSION} PORTREVISION= 0 CATEGORIES= japanese mail @@ -15,7 +15,7 @@ MASTER_SITES= http://www.emaillab.org/mutt/1.5/ \ http://my.reset.jp/~iwashita/mutt/distfiles/ \ http://ha4.seikyou.ne.jp/home/Kohtaro.Hitomi/mutt/ \ ftp://ftp.mutt.org/mutt/devel/ -DISTNAME= ${PORTNAME}-${VERSION}i +DISTNAME= mutt-${VERSION}i DISTFILES= ${DISTNAME}${EXTRACT_SUFX} \ ${DISTNAME}-ja.${JP_VERSION}${EXTRACT_SUFX} \ manual_ja-${MANUALVERSION}i-1${EXTRACT_SUFX} @@ -25,16 +25,16 @@ MAINTAINER= st@be.to COMMENT= Text-based mail client (Japanised development version) LIB_DEPENDS= slang.2:${PORTSDIR}/japanese/libslang +RUN_DEPENDS= urlview:${PORTSDIR}/textproc/urlview -.if !defined(WITH_GETTEXT) +.if !defined(WITHOUT_NLS) USE_GETTEXT= yes -.else -BUILD_DEPENDS= msgfmt:${PORTSDIR}/devel/gettext .endif .if defined(WITH_MUTT_CYRUS_SASL) LIB_DEPENDS+= sasl.8:${PORTSDIR}/security/cyrus-sasl .endif -RUN_DEPENDS= urlview:${PORTSDIR}/textproc/urlview + +CONFLICTS= mutt-* ja-mutt-1.[024]* VERSION= 1.5.6 JP_VERSION= 1 @@ -48,7 +48,7 @@ USE_GMAKE= yes USE_ICONV= yes USE_AUTOMAKE_VER= 14 USE_OPENSSL= yes -WRKSRC= ${WRKDIR}/${PORTNAME}-${VERSION} +WRKSRC= ${WRKDIR}/mutt-${VERSION} LDFLAGS+= -L${LOCALBASE}/lib CONFIGURE_ENV= CC="${CC} -I${LOCALBASE}/include -I${LOCALBASE}/include/slang" \ LDFLAGS="${LDFLAGS}" @@ -61,8 +61,11 @@ CONFIGURE_ARGS= --with-slang --enable-locales-fix \ --with-docdir=${DOCSDIR} \ --enable-pop --enable-imap \ --enable-default-japanese -.if defined(WITH_GETTEXT) -CONFIGURE_ARGS+= --with-included-gettext +.if defined(WITHOUT_NLS) +CONFIGURE_ARGS+= --disable-nls +PLIST_SUB= NLS="@comment " +.else +PLIST_SUB+= NLS="" .endif .if defined(WITH_MUTT_CYRUS_SASL) CONFIGURE_ARGS+= --with-sasl=${LOCALBASE} |