aboutsummaryrefslogblamecommitdiff
path: root/mail/xc-mail/Makefile
blob: 4c60146221858b984d90735b6fdd9b901c312e4c (plain) (tree)
1
2
3
4
5
6
7
8
9

                                               
                              




                       
                   
                 
                 
                    

                                          

                                  
                                                            

                                                            
                                                  

                   
                        


                   
                 








                                                  





                                                    



                                                          
                           
# New ports collection makefile for:	xc-mail
# Date created:		2000-10-01
# Whom:			trevor
#
# $FreeBSD$
#

PORTNAME=	xc-mail
PORTVERSION=	2.2
PORTREVISION=	1
PORTEPOCH=	1
CATEGORIES=	mail
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR=	xcmail

MAINTAINER=	trevor@FreeBSD.org
COMMENT=	Mail client for X which supports POP and PGP

LIB_DEPENDS=	Xclasses.1:${PORTSDIR}/x11-toolkits/xclasses
RUN_DEPENDS=	ispell:${PORTSDIR}/textproc/ispell

GNU_CONFIGURE=	yes
ONLY_FOR_ARCHS=	arm i386
USE_GMAKE=	yes
USE_X_PREFIX=	yes

CONFIGURE_ARGS=	\
		--includedir=${X11BASE}/include/ \
		--libdir=${X11BASE}/lib/ \
		--x-includes=${X11BASE}/include/ \
		--x-libraries=${X11BASE}/lib/

CONFIGURE_ENV=	CPPFLAGS="-I${X11BASE}/include" \
		LDFLAGS="-L${X11BASE}/lib" \
		LIBS="-L${X11BASE}/lib"

.include <bsd.port.pre.mk>

.if ${OSVERSION} > 502014
BROKEN=		"Does not compile on FreeBSD >= 5.x"
.endif

post-install:
		chown ${BINOWN}:mail ${PREFIX}/bin/xc-mail
		chmod g+s ${PREFIX}/bin/xc-mail

.include <bsd.port.post.mk>