2003-07-17 11:09:58 +02:00
|
|
|
# $NetBSD: Makefile,v 1.22 2003/07/17 09:09:59 uebayasi Exp $
|
2001-04-10 02:24:46 +02:00
|
|
|
|
2003-07-16 11:24:14 +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/
|
|
|
|
|
2003-06-02 03:15:31 +02:00
|
|
|
MAINTAINER= tech-pkg@netbsd.org
|
2001-04-10 02:24:46 +02:00
|
|
|
COMMENT= mh-e like mail user agent
|
|
|
|
|
2002-06-17 13:22:18 +02:00
|
|
|
GNU_CONFIGURE= yes
|
2002-10-25 14:13:18 +02:00
|
|
|
USE_BUILDLINK2= yes
|
2002-06-17 13:22:18 +02:00
|
|
|
|
2001-04-10 02:24:46 +02:00
|
|
|
.include "../../mk/bsd.prefs.mk"
|
2002-06-17 13:22:18 +02:00
|
|
|
|
2003-07-17 11:09:58 +02:00
|
|
|
BUILD_DEFS+= USE_INET6 USE_IDEA CUE_USE_CANNA
|
2001-04-10 02:24:46 +02:00
|
|
|
|
2003-07-17 11:09:58 +02:00
|
|
|
.if defined(USE_INET6) && !empty(USE_INET6:M[Yy][Ee][Ss])
|
2002-06-17 13:22:18 +02:00
|
|
|
CONFIGURE_ARGS+= --enable-ipv6
|
2001-04-10 02:24:46 +02:00
|
|
|
.else
|
2002-06-17 13:22:18 +02:00
|
|
|
CONFIGURE_ARGS+= --disable-ipv6
|
2001-04-10 02:24:46 +02:00
|
|
|
.endif
|
2002-06-17 13:22:18 +02:00
|
|
|
|
2003-07-17 11:09:58 +02:00
|
|
|
.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
|
2002-06-17 13:22:18 +02:00
|
|
|
CONFIGURE_ARGS+= --with-openssl=${SSLBASE}
|
2002-09-04 02:14:57 +02:00
|
|
|
.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
|
2002-01-02 12:54:27 +01:00
|
|
|
${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"
|