freebsd-ports/chinese/mutt/Makefile
Tijl Coosemans f1655c7b7a dns/libidn:
- Add USES=libtool and bump dependent ports
- Add INSTALL_TARGET=install-strip
- Always install libidn-components.png because it is used by libidn.info
- Add -lintl to Libs.private instead of Libs in libidn.pc
2014-08-30 18:18:14 +00:00

42 lines
1.1 KiB
Makefile

# Created by: David O'Brien (obrien@NUXI.com)
# $FreeBSD$
PORTREVISION= 5
CATEGORIES= chinese
MASTERDIR= ${.CURDIR}/../../mail/mutt
#REVISEDATE= 20100927
#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
CONFLICTS= ja-mutt-[0-9]* ja-mutt-devel-[0-9]* mutt-[0-9]* mutt-lite-[0-9]*
LIB_DEPENDS+= libhz.so:${PORTSDIR}/chinese/autoconvert
LDFLAGS_ADD+= -lhz
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
@for i in ${.CURDIR}/files/patch-*; do \
${ECHO_MSG} "===> Applying extra patch $$i"; \
${PATCH} ${PATCH_ARGS} < $$i; \
done
.include "${MASTERDIR}/Makefile"