2004-05-07 07:05:57 +02:00
|
|
|
# $NetBSD: Makefile,v 1.36 2004/05/07 05:05:57 itojun Exp $
|
2001-04-10 02:24:46 +02:00
|
|
|
|
2004-05-07 07:05:57 +02:00
|
|
|
DISTNAME= cue-snap-20040426
|
|
|
|
PKGNAME= cue-20040426
|
2001-04-10 02:24:46 +02:00
|
|
|
CATEGORIES= mail
|
|
|
|
MASTER_SITES= ftp://sh.wide.ad.jp/WIDE/free-ware/cue/snap/
|
|
|
|
|
2003-07-17 23:41:05 +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
|
2004-04-25 01:02:35 +02:00
|
|
|
USE_BUILDLINK3= 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])
|
2004-04-25 01:02:35 +02:00
|
|
|
.include "../../inputmethod/canna-lib/buildlink3.mk"
|
2003-07-17 11:09:58 +02:00
|
|
|
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
|
2001-04-10 02:24:46 +02:00
|
|
|
|
2004-04-25 01:02:35 +02:00
|
|
|
.include "../../security/openssl/buildlink3.mk"
|
2001-04-10 02:24:46 +02:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|