036f2c5ce6
LIB_DEPENDS in chinese
43 lines
1.1 KiB
Makefile
43 lines
1.1 KiB
Makefile
# Created by: David O'Brien (obrien@NUXI.com)
|
|
# $FreeBSD$
|
|
|
|
PORTREVISION= 3
|
|
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
|
|
|
|
NO_STAGE= yes
|
|
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"
|