1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-10 07:04:03 +00:00
freebsd-ports/chinese/mutt/Makefile

45 lines
1.0 KiB
Makefile

# ex:ts=8
# Ports collection makefile for: mutt w/pgp hooks
# Date created: Thur July 25, 1996
# Whom: David O'Brien (obrien@NUXI.com)
#
# $FreeBSD$
#
PORTREVISION= 1
CATEGORIES= chinese
MASTERDIR= ${.CURDIR}/../../mail/mutt-devel
REVISEDATE= 20090629
PORTREVISION= ${REVISEDATE}
# XXX: Currently PORTREVISION assignment is not perfect. It needs to
# inherit its master port's PORTREVISION and be appended.
MAINTAINER= rafan@FreeBSD.org
COMMENT= The Mongrel of Mail User Agents with Chinese support
LIB_DEPENDS+= hz.0:${PORTSDIR}/chinese/autoconvert
CFLAGS+= -D_DONT_USE_CTYPE_INLINE_
LDFLAGS+= -lhz
EXTRA_PATCHES+= ${.CURDIR}/files/patch-*
WITH_MUTT_LOCALES_FIX= yes
WITH_MUTT_NCURSES= yes
.if !defined(PACKAGE_BUILDING)
WITHOUT_MUTT_SGMLFORMAT= yes
WITHOUT_MUTT_HTML= yes
WITHOUT_MUTT_XML= yes
WITHOUT_MUTT_COMPRESSED_FOLDERS=yes
.endif
MUTT_SLAVE_HTML_PAGES= 1
PKGMESSAGE= ${.CURDIR}/pkg-message
post-patch::
@${REINPLACE_CMD} -e '/^mutt_SOURCES/s/\\$$/ myiconv.c \\/' ${WRKSRC}/Makefile.am
.include "${MASTERDIR}/Makefile"