aboutsummaryrefslogtreecommitdiffstats
path: root/mail/xmailbox/Makefile
blob: 1f419f5aeae115dc3d4dbd18bae61a72a6759546 (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
# New ports collection makefile for:    xmailbox
# Date created:             23 May 1998
# Whom:                 Andrey Zakhvatov
#
# $FreeBSD$
#

PORTNAME=       xmailbox
PORTVERSION=        2.5
CATEGORIES=     mail
MASTER_SITES=       ${MASTER_SITE_XCONTRIB}
MASTER_SITE_SUBDIR= applications

MAINTAINER=     ports@FreeBSD.org

LIB_DEPENDS=        Xpm.4:${PORTSDIR}/graphics/xpm

USE_IMAKE=      yes
MAN1=           xmailbox.1

post-patch:
    @${PERL} -pi -e "s|%%PREFIX%%|${PREFIX}|g" ${WRKSRC}/XMailbox.ad

post-install:
    @${MKDIR} ${PREFIX}/share/xmailbox
    ${INSTALL_DATA} ${WRKSRC}/dingdong.au ${PREFIX}/share/xmailbox
    ${INSTALL_DATA} ${WRKSRC}/ugotmail.au ${PREFIX}/share/xmailbox
.if !defined(NOPORTDOCS)
    @${MKDIR} ${PREFIX}/share/doc/xmailbox
    ${INSTALL_DATA} ${WRKSRC}/DISCLAIMER ${PREFIX}/share/doc/xmailbox
    ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/xmailbox
.endif

.include <bsd.port.mk>