blob: 6da11d7767a526207fd4b8afa9af0f4309f78d81 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
# $NetBSD: Makefile,v 1.14 2004/08/16 15:34:25 cjep Exp $
DISTNAME= nail-11.2
CATEGORIES= mail
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=nail/}
EXTRACT_SUFX= .tar.bz2
MAINTAINER= cjep@NetBSD.org
HOMEPAGE= http://nail.sourceforge.net/
COMMENT= BSD mail utility with MIME extensions
USE_BUILDLINK3= yes
USE_PKGINSTALL= yes
BUILD_DEFS+= USE_INET6
MAKE_ENV+= "SYSCONFDIR=${PKG_SYSCONFDIR}"
.include "../../mk/bsd.prefs.mk"
# IPv6 support
#
.if ${USE_INET6} == "YES"
MAKE_ENV+= "IPv6=-DHAVE_IPv6_FUNCS"
.endif
.if (${OPSYS} == "SunOS")
MAKE_ENV+= "SENDMAIL=/usr/lib/sendmail"
.endif
EGDIR= ${PREFIX}/share/examples/nail
CONF_FILES= ${EGDIR}/nail.rc ${PKG_SYSCONFDIR}/nail.rc
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/nail ${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/nail.1 ${PREFIX}/man/man1
${INSTALL_DATA_DIR} ${EGDIR}
${INSTALL_DATA} ${WRKSRC}/nail.rc ${EGDIR}
.include "../../mk/bsd.pkg.mk"
|