blob: bb6d04d55293b919144df78ab3e72284ca85eb45 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
|
# New ports collection makefile for: mulberry
# Date created: 12 Dec 2001
# Whom: Yarema <yds@CoolRat.org>
#
# $FreeBSD$
#
PORTNAME= mulberry
PORTVERSION= 2.2.1
CATEGORIES= mail
MASTER_SITES= ftp://ftp.cyrusoft.com/pub/Mulberry/v${PORTVERSION:S/./_/g}/
DIST_SUBDIR= ${PORTNAME}
DISTNAME= ${PORTNAME}-${PORTVERSION:S/./_/g}-rh6
DISTFILES= ${DISTNAME}${EXTRACT_SUFX}
DISTCRYPTO= MulberryS${EXTRACT_SUFX}
EXTRACT_SUFX= .tgz
MAINTAINER= yds@CoolRat.org
COMMENT= A scalable high-performance GUI internet Mail User Agent
USE_LINUX= yes
NO_BUILD= yes
NO_WRKSUBDIR= yes
ONLY_FOR_ARCHS= i386
.include <bsd.port.pre.mk>
.if defined(WITH_CRYPTO)
NO_CDROM= Contains cryptography (can't redistribute)
NO_PACKAGE= Contains cryptography (can't place on server for distribution)
.if !exists(${DISTDIR}/${DIST_SUBDIR}/${DISTCRYPTO})
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
.endif
RUN_DEPENDS+= gpg:${PORTSDIR}/security/gnupg
DISTFILES+= ${DISTCRYPTO}
PLIST_SUB+= CRYPTO=""
.else
PLIST_SUB+= CRYPTO="@comment "
.endif
INSTALL_DIR?= ${INSTALL} -d -o ${BINOWN} -g ${BINGRP} -m 755
PLUGINSDIR= ${PREFIX}/lib/${PORTNAME}/Plug-ins
PIXMAPSDIR= ${PREFIX}/share/pixmaps
do-install:
${INSTALL_DIR} ${PLUGINSDIR}
${INSTALL_DIR} ${PIXMAPSDIR}
${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
${INSTALL_DATA} ${WRKSRC}/.${PORTNAME}/Plug-ins/* ${PLUGINSDIR}
${INSTALL_DATA} ${WRKSRC}/.${PORTNAME}/icons/* ${PIXMAPSDIR}
.if !defined(NOPORTDOCS)
${INSTALL_DIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/.${PORTNAME}/CHANGES* ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/Mulberry_License ${DOCSDIR}
.endif
post-install:
@${ECHO} ""
@${CAT} ${PKGMESSAGE}
@${ECHO} ""
.include <bsd.port.post.mk>
|