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

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

MAINTAINER=     ports@FreeBSD.org
COMMENT=    Mailbox checker with sound and animation for X Window System

USE_IMAKE=      yes
USE_XPM=        yes
MAN1=           xmailbox.1

post-patch:
    @${REINPLACE_CMD} -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>