2013-09-20 19:59:12 +00:00
|
|
|
# Created by: Yarema <yds@CoolRat.org>
|
2006-09-22 16:13:59 +00:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= mulberry
|
2007-03-27 07:18:21 +00:00
|
|
|
PORTVERSION= 4.0.8
|
2014-03-26 01:51:58 +00:00
|
|
|
PORTREVISION= 2
|
|
|
|
CATEGORIES= mail linux
|
2006-09-22 16:13:59 +00:00
|
|
|
MASTER_SITES= http://www.mulberrymail.com/downloads/Mulberry/%SUBDIR%/
|
|
|
|
MASTER_SITE_SUBDIR=v${PORTVERSION:S/./_/g}
|
|
|
|
DISTNAME= Mulberry
|
|
|
|
EXTRACT_SUFX= .tgz
|
|
|
|
DIST_SUBDIR= ${PORTNAME}-${PORTVERSION}
|
|
|
|
|
2012-01-19 03:35:49 +00:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2014-03-26 01:51:58 +00:00
|
|
|
COMMENT= Scalable high-performance GUI Internet Mail User Agent
|
|
|
|
OPTIONS_DEFINE= DOCS
|
2006-09-22 16:13:59 +00:00
|
|
|
|
|
|
|
NO_WRKSUBDIR= yes
|
|
|
|
USE_LINUX= yes
|
2009-03-19 17:28:51 +00:00
|
|
|
USE_LINUX_APPS= xorglibs
|
2007-06-29 15:10:58 +00:00
|
|
|
ONLY_FOR_ARCHS= i386 amd64
|
2006-09-22 16:13:59 +00:00
|
|
|
|
|
|
|
.include <bsd.port.pre.mk>
|
2014-03-26 01:51:58 +00:00
|
|
|
.include <bsd.port.options.mk>
|
2006-09-22 16:13:59 +00:00
|
|
|
|
|
|
|
INSTALL_DIR?= ${INSTALL} -d -o ${BINOWN} -g ${BINGRP} -m 755
|
|
|
|
PLUGINSDIR= ${PREFIX}/lib/${PORTNAME}/Plug-ins
|
|
|
|
RESOURCESDIR= ${PREFIX}/lib/${PORTNAME}/Resources
|
|
|
|
PIXMAPSDIR= ${PREFIX}/share/pixmaps
|
|
|
|
|
|
|
|
SUB_LIST= PORTNAME=${PORTNAME} WRKSRC=${WRKSRC}
|
|
|
|
PLIST_SUB= PORTNAME=${PORTNAME}
|
|
|
|
|
|
|
|
do-build:
|
|
|
|
${BRANDELF} -t Linux ${WRKSRC}/${PORTNAME}
|
|
|
|
|
|
|
|
do-install:
|
2014-03-26 01:51:58 +00:00
|
|
|
${INSTALL_DIR} ${STAGEDIR}${PLUGINSDIR}
|
|
|
|
${INSTALL_DIR} ${STAGEDIR}${PIXMAPSDIR}
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
|
|
|
|
# ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/lib/${PORTNAME}/${PORTNAME}.bin
|
|
|
|
# ${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME}.sh ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/.${PORTNAME}/Plug-ins/*.so ${STAGEDIR}${PLUGINSDIR}
|
|
|
|
${MKDIR} ${STAGEDIR}${PREFIX}/lib/${PORTNAME}/Resources
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/.${PORTNAME}/Resources/* ${STAGEDIR}${RESOURCESDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/.${PORTNAME}/icons/* ${STAGEDIR}${PIXMAPSDIR}
|
|
|
|
${INSTALL_DIR} ${STAGEDIR}${PLUGINSDIR}/Timezones
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/.${PORTNAME}/Plug-ins/Timezones/* ${STAGEDIR}${PLUGINSDIR}/Timezones
|
|
|
|
${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
|
|
|
|
${INSTALL_DATA} ${FILESDIR}/mailcap ${STAGEDIR}${EXAMPLESDIR}
|
|
|
|
@[ -f ${PREFIX}/etc/mailcap ] || ${INSTALL_DATA} ${FILESDIR}/mailcap ${STAGEDIR}${PREFIX}/etc/mailcap
|
|
|
|
${INSTALL_DATA} ${FILESDIR}/url.helpers ${STAGEDIR}${EXAMPLESDIR}
|
|
|
|
@[ -f ${PREFIX}/lib/url.helpers ] || ${INSTALL_DATA} ${FILESDIR}/url.helpers ${STAGEDIR}${PREFIX}/lib/url.helpers
|
|
|
|
.if ${PORT_OPTIONS:MDOCS}
|
|
|
|
${INSTALL_DIR} ${STAGEDIR}${DOCSDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/.${PORTNAME}/CHANGES* ${STAGEDIR}${DOCSDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/Mulberry_License ${STAGEDIR}${DOCSDIR}
|
2006-09-22 16:13:59 +00:00
|
|
|
.endif
|
|
|
|
.include <bsd.port.post.mk>
|