openbsd-ports/mail/libetpan/Makefile
kili 4a45ee608f Remove maintainer as per his request.
Note from his mail:

libetpan needs an update to a more current version, but since the author
hasn't released a stable tarball lately the new maintainer should host
it somewhere.
2011-12-15 21:11:55 +00:00

47 lines
1.2 KiB
Makefile

# $OpenBSD: Makefile,v 1.12 2011/12/15 21:11:55 kili Exp $
COMMENT= mail purpose library
DISTNAME= libetpan-1.0
REVISION= 1
CATEGORIES= mail devel
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=libetpan/}
SHARED_LIBS= etpan 14.0
HOMEPAGE= http://libetpan.sourceforge.net/
# BSD
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MODULES= devel/gettext
WANTLIB= crypto expat m ssl stdc++ z curl idn sasl2
LIB_DEPENDS+= net/curl \
devel/libidn \
security/cyrus-sasl2
USE_LIBTOOL= Yes
CONFIGURE_STYLE= gnu
CONFIGURE_ARGS+= ${CONFIGURE_SHARED}
CONFIGURE_ARGS+= --without-gnutls --with-sasl=${LOCALBASE}
CONFIGURE_ENV+= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
NO_REGRESS= Yes
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/libetpan/html/{API,README}
${INSTALL_DATA} ${WRKSRC}/{COPYRIGHT,doc/{DOCUMENTATION,{API,README}.txt}} ${PREFIX}/share/doc/libetpan
. for d in API README
${INSTALL_DATA} ${WRKSRC}/doc/${d}.html ${PREFIX}/share/doc/libetpan/html
cd ${WRKSRC}/doc/${d};\
find * -exec ${INSTALL_DATA} {} ${PREFIX}/share/doc/libetpan/html/${d}/{} \;
. endfor
.include <bsd.port.mk>