summaryrefslogblamecommitdiff
path: root/mail/deforaos-mailer/Makefile
blob: f5fb52d05b64986ccebc25a081930587b9c824b8 (plain) (tree)
1
2
3
4
5
6
7
8
9



                                                        
                     
                 
                    
                                                                
                         
                                     







                                                                                                    

                                                                   
 

                                                    


                   
                                
 
                                                  
 

                           
           
                                                    
                                           


                                                                       

                      
# Created by: Olivier Cochard-Labbe <olivier@cochard.me>
# $FreeBSD$

PORTNAME=	mailer
PORTVERSION=	0.1.6
PORTREVISION=	1
CATEGORIES=	mail
MASTER_SITES=	http://www.defora.org/os/download/download/4029/
PKGNAMEPREFIX=	deforaos-
DISTNAME=	Mailer-${PORTVERSION}

MAINTAINER=	olivier@cochard.me
COMMENT=	DeforaOS desktop mail client

LICENSE=	GPLv3

BUILD_DEPENDS=	xsltproc:${PORTSDIR}/textproc/libxslt \
		${LOCALBASE}/share/xsl/docbook/manpages/docbook.xsl:${PORTSDIR}/textproc/docbook-xsl
LIB_DEPENDS=	libSystem.so:${PORTSDIR}/devel/deforaos-libsystem \
		libDesktop.so:${PORTSDIR}/x11/deforaos-libdesktop

USE_GNOME=	gtk20
USES=		desktop-file-utils gettext pkgconfig
INSTALLS_ICONS=	yes
USE_LDCONFIG=	yes
USE_OPENSSL=	yes
MAKE_ARGS+=	PREFIX=${PREFIX}

MAKE_ENV+=	MANDIR=${STAGEDIR}${MANPREFIX}/man

MAKE_JOBS_UNSAFE=	yes

post-patch:
	@${REINPLACE_CMD} -e 's|/lib/|/libdata/|g' \
		${WRKSRC}/data/pkgconfig.sh
	@${REINPLACE_CMD} 's/-lssl/& -lcrypto/' \
		${WRKSRC}/src/Makefile ${WRKSRC}/src/account/Makefile \
		${WRKSRC}/src/plugins/Makefile ${WRKSRC}/tests/Makefile

.include <bsd.port.mk>