aboutsummaryrefslogtreecommitdiffstats
path: root/mail/xfmail/Makefile
blob: 86a72845f4e5844ba967c1c389fb5ea8f719806f (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
# New ports collection makefile for:    xfmail
# Date created:     30 June 1996
# Whom:         gena
#
# $FreeBSD$
#

PORTNAME=   xfmail
PORTVERSION=    1.5.4
PORTREVISION=   1
CATEGORIES= mail
MASTER_SITES=   ftp://xfmail.cfreeze.com/pub/xfmail/release/%SUBDIR%/   \
        ftp://cupido.geophys.nat.tu-bs.de/pub/xfmail/release/%SUBDIR%/  \
        ftp://xfmail.ufies.org/pub/xfmail/release/%SUBDIR%/
MASTER_SITE_SUBDIR= ${PORTVERSION}rc1/source/
DISTNAME=   ${PORTNAME}-${PORTVERSION}-rc1

MAINTAINER= mikeh@FreeBSD.org
COMMENT=    An X Window System application for receiving electronic mail

BUILD_DEPENDS+= autoconf:${PORTSDIR}/devel/autoconf

LIB_DEPENDS=    forms.1:${PORTSDIR}/x11-toolkits/xforms \
        gdbm.3:${PORTSDIR}/databases/gdbm

USE_AUTOMAKE_VER=   15
USE_AUTOCONF=   yes
USE_BZIP2=  yes
USE_GNOME=  glib12
USE_GMAKE=  yes
USE_LIBTOOL=    yes
USE_X_PREFIX=   yes
USE_XPM=    yes

AUTOCONF=   autoconf
AUTOHEADER= autoheader
ACLOCAL=    aclocal

# XXX: Disable patching for libtool until we can generate the files
LIBTOOLFILES=

.include <bsd.port.pre.mk>

CONFIGURE_ARGS= --with-dbm-lib=gdbm

.if defined(WITH_ESOUND)
USE_GNOME+= esound
CONFIGURE_ARGS+=    --with-esd-sound
.endif

MAN1=       xfmail.1

pre-configure:
    @(cd ${WRKSRC} && ${SH} autogen.sh);    \
    ${MAKE} LIBTOOLFILES=aclocal.m4 patch-libtool

.include <bsd.port.post.mk>