pkgsrc/mail/cue/Makefile

45 lines
1.2 KiB
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.22 2003/07/17 09:09:59 uebayasi Exp $
2001-04-10 02:24:46 +02:00
DISTNAME= cue-snap-20030714
PKGNAME= cue-20030714
2001-04-10 02:24:46 +02:00
CATEGORIES= mail
MASTER_SITES= ftp://sh.wide.ad.jp/WIDE/free-ware/cue/snap/
MAINTAINER= tech-pkg@netbsd.org
2001-04-10 02:24:46 +02:00
COMMENT= mh-e like mail user agent
GNU_CONFIGURE= yes
2002-10-25 14:13:18 +02:00
USE_BUILDLINK2= yes
2001-04-10 02:24:46 +02:00
.include "../../mk/bsd.prefs.mk"
BUILD_DEFS+= USE_INET6 USE_IDEA CUE_USE_CANNA
2001-04-10 02:24:46 +02:00
.if defined(USE_INET6) && !empty(USE_INET6:M[Yy][Ee][Ss])
CONFIGURE_ARGS+= --enable-ipv6
2001-04-10 02:24:46 +02:00
.else
CONFIGURE_ARGS+= --disable-ipv6
2001-04-10 02:24:46 +02:00
.endif
.if defined(CUE_USE_CANNA) && !empty(CUE_USE_CANNA:M[Yy][Ee][Ss])
.include "../../inputmethod/canna-lib/buildlink2.mk"
CONFIGURE_ARGS+= --with-canna=${BUILDLINK_PREFIX.canna}
.else
CONFIGURE_ARGS+= --without-canna
.endif
CONFIGURE_ARGS+= --with-openssl=${SSLBASE}
.if defined(USE_IDEA)
CONFIGURE_ARGS+= --enable-idea
.endif
2001-04-10 02:24:46 +02:00
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/cue ${PREFIX}/bin
2001-04-13 06:37:37 +02:00
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/cue
${INSTALL_DATA} ${WRKSRC}/sample.cuerc ${PREFIX}/share/examples/cue
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/cue
${INSTALL_DATA} ${WRKSRC}/cue.hlp ${PREFIX}/share/doc/cue
${INSTALL_DATA} ${WRKSRC}/cue.html ${PREFIX}/share/doc/cue
2001-04-10 02:24:46 +02:00
2002-10-25 14:13:18 +02:00
.include "../../security/openssl/buildlink2.mk"
2001-04-10 02:24:46 +02:00
.include "../../mk/bsd.pkg.mk"