2002-01-16 09:46:29 +01:00
# New ports collection makefile for: mulberry
# Date created: 12 Dec 2001
# Whom: Yarema <yds@CoolRat.org>
#
# $FreeBSD$
#
PORTNAME = mulberry
2003-12-13 00:22:48 +01:00
PORTVERSION = 3.1
2002-01-16 09:46:29 +01:00
CATEGORIES = mail
MASTER_SITES = ftp://ftp.cyrusoft.com/pub/Mulberry/v${ PORTVERSION : S /./_/g } /
DISTNAME = ${ PORTNAME } -${ PORTVERSION : S /./_/g } -rh6
EXTRACT_SUFX = .tgz
2003-12-13 00:22:48 +01:00
DISTFILES = ${ DISTNAME } ${ EXTRACT_SUFX }
DIST_SUBDIR = ${ PORTNAME }
2002-01-16 09:46:29 +01:00
2003-12-13 00:22:48 +01:00
MAINTAINER = girgen@pingpong.net
2003-02-21 13:51:06 +01:00
COMMENT = A scalable high-performance GUI internet Mail User Agent
2002-01-16 09:46:29 +01:00
USE_LINUX = yes
NO_BUILD = yes
NO_WRKSUBDIR = yes
ONLY_FOR_ARCHS = i386
. i n c l u d e < b s d . p o r t . p r e . m k >
. i f d e f i n e d ( W I T H _ C R Y P T O )
2003-12-13 00:22:48 +01:00
DISTCRYPTO = ${ PORTNAME } -s-${ PORTVERSION : S /./_/g } -rh6${ EXTRACT_SUFX }
NO_CDROM = Contains cryptography ( cannot redistribute)
NO_PACKAGE = Contains cryptography ( cannot place on server for distribution)
2002-01-16 09:46:29 +01:00
. i f ! e x i s t s ( $ { D I S T D I R } / $ { D I S T _ S U B D I R } / $ { D I S T C R Y P T O } )
2002-05-16 17:56:18 +02:00
IGNORE = You must manually fetch the Linux RedHat 6.x ${ DISTCRYPTO } Plug-ins tarball from https://www.cyrusoft.com/cgi-bin/crypto and place it in ${ DISTDIR } /${ DIST_SUBDIR } / and then run 'make -DWITH_CRYPTO install' again
2002-01-16 09:46:29 +01:00
. e n d i f
RUN_DEPENDS += gpg:${ PORTSDIR } /security/gnupg
DISTFILES += ${ DISTCRYPTO }
PLIST_SUB += CRYPTO = ""
. e l s e
PLIST_SUB += CRYPTO = "@comment "
. e n d i f
2002-05-14 03:35:55 +02:00
INSTALL_DIR ?= ${ INSTALL } -d -o ${ BINOWN } -g ${ BINGRP } -m 755
2002-01-16 09:46:29 +01:00
PLUGINSDIR = ${ PREFIX } /lib/${ PORTNAME } /Plug-ins
PIXMAPSDIR = ${ PREFIX } /share/pixmaps
do-install :
2002-05-14 03:35:55 +02:00
${ INSTALL_DIR } ${ PLUGINSDIR }
${ INSTALL_DIR } ${ PIXMAPSDIR }
2002-01-16 09:46:29 +01:00
${ INSTALL_SCRIPT } ${ WRKSRC } /${ PORTNAME } ${ PREFIX } /bin
${ INSTALL_DATA } ${ WRKSRC } /.${ PORTNAME } /Plug-ins/* ${ PLUGINSDIR }
${ INSTALL_DATA } ${ WRKSRC } /.${ PORTNAME } /icons/* ${ PIXMAPSDIR }
. i f ! d e f i n e d ( N O P O R T D O C S )
2002-05-14 03:35:55 +02:00
${ INSTALL_DIR } ${ DOCSDIR }
2002-01-16 09:46:29 +01:00
${ INSTALL_DATA } ${ WRKSRC } /.${ PORTNAME } /CHANGES* ${ DOCSDIR }
${ INSTALL_DATA } ${ WRKSRC } /Mulberry_License ${ DOCSDIR }
. e n d i f
post-install :
@${ ECHO } ""
@${ CAT } ${ PKGMESSAGE }
@${ ECHO } ""
. i n c l u d e < b s d . p o r t . p o s t . m k >