blob: 4e33250968f21ebcc193fe700624925afaee91ca (
plain) (
blame)
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
|
# Created by: Yarema <yds@CoolRat.org>
# $FreeBSD$
PORTNAME= mulberry
PORTVERSION= 4.0.8
PORTREVISION= 2
CATEGORIES= mail linux
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}
MAINTAINER= ports@FreeBSD.org
COMMENT= Scalable high-performance GUI Internet Mail User Agent
OPTIONS_DEFINE= DOCS
NO_WRKSUBDIR= yes
USE_LINUX= yes
USE_LINUX_APPS= xorglibs
ONLY_FOR_ARCHS= i386 amd64
.include <bsd.port.pre.mk>
.include <bsd.port.options.mk>
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:
${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}
.endif
.include <bsd.port.post.mk>
|