2015-08-18 09:31:00 +02:00
|
|
|
# $NetBSD: Makefile,v 1.13 2015/08/18 07:31:12 wiz Exp $
|
2009-09-16 01:27:05 +02:00
|
|
|
#
|
|
|
|
|
2012-04-18 22:50:21 +02:00
|
|
|
DISTNAME= re-alpine-2.02
|
2015-08-18 09:31:00 +02:00
|
|
|
PKGREVISION= 5
|
2009-09-16 01:27:05 +02:00
|
|
|
CATEGORIES= mail
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=re-alpine/}
|
|
|
|
EXTRACT_SUFX= .tar.bz2
|
|
|
|
|
|
|
|
MAINTAINER= reed@reedmedia.net
|
|
|
|
HOMEPAGE= http://sourceforge.net/projects/re-alpine/
|
|
|
|
COMMENT= Console-based mail and news client
|
|
|
|
LICENSE= apache-2.0
|
|
|
|
|
|
|
|
CONFLICTS= alpine-[0-9]*
|
|
|
|
|
|
|
|
.include "options.mk"
|
|
|
|
|
|
|
|
GNU_CONFIGURE= yes
|
2012-02-10 09:44:01 +01:00
|
|
|
CONFIGURE_ARGS+= --with-ssl-dir=${SSLBASE}
|
|
|
|
CONFIGURE_ARGS+= --with-ssl-certs-dir=${SSLCERTS:Q}
|
|
|
|
CONFIGURE_ARGS+= --with-ssl-include-dir=${SSLBASE}/include
|
|
|
|
CONFIGURE_ARGS+= --with-ssl-lib-dir=${SSLBASE}/lib
|
2009-09-16 01:27:05 +02:00
|
|
|
CONFIGURE_ARGS+= --with-system-pinerc=${PKG_SYSCONFDIR}/pine.conf
|
|
|
|
CONFIGURE_ARGS+= --with-system-fixed-pinerc=${PKG_SYSCONFDIR}/pine.conf.fixed
|
2012-04-18 22:50:21 +02:00
|
|
|
CONFIGURE_ARGS+= --with-smime
|
2009-09-16 01:27:05 +02:00
|
|
|
|
|
|
|
USE_LIBTOOL= yes
|
|
|
|
|
|
|
|
MAKE_JOBS_SAFE= no
|
|
|
|
INSTALLATION_DIRS= bin ${PKGMANDIR}/man1
|
|
|
|
|
2014-01-01 17:10:09 +01:00
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
|
2009-09-16 01:27:05 +02:00
|
|
|
.if ${OPSYS} == "NetBSD" && empty(OS_VERSION:M4.99.*) && empty(OS_VERSION:M[5-9]*)
|
|
|
|
CONFIGURE_ARGS+= --without-pthread
|
|
|
|
.endif
|
|
|
|
|
2014-01-01 17:10:09 +01:00
|
|
|
.if ${OPSYS} == "MirBSD"
|
|
|
|
SUBST_CLASSES+= mirbsd
|
|
|
|
SUBST_STAGE.mirbsd= pre-configure
|
|
|
|
SUBST_FILES.mirbsd= configure
|
|
|
|
SUBST_SED.mirbsd= -e 's,\*-\*-openbsd,*-*-mirbsd,g'
|
|
|
|
.endif
|
|
|
|
|
2009-09-16 01:27:05 +02:00
|
|
|
do-install:
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/alpine/alpine ${DESTDIR}${PREFIX}/bin/alpine
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/doc/alpine.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/alpine.1
|
|
|
|
|
2011-12-17 11:16:04 +01:00
|
|
|
.include "../../mk/terminfo.buildlink3.mk"
|
2012-03-27 23:46:51 +02:00
|
|
|
.include "../../mk/pam.buildlink3.mk"
|
2009-09-16 01:27:05 +02:00
|
|
|
.include "../../security/openssl/buildlink3.mk"
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|