blob: a10092adc73fad519b9020ff8bdc6157b2d14076 (
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
41
42
43
44
|
# $NetBSD: Makefile,v 1.3 2005/12/05 23:55:10 rillig Exp $
#
DISTNAME= esmtp-0.5.1
CATEGORIES= mail
PKGREVISION= 1
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=esmtp/}
EXTRACT_SUFX= .tar.bz2
MAINTAINER= lems@gmx.net
HOMEPAGE= http://esmtp.sourceforge.net/
COMMENT= Relay-only Mail Transfer Agent with sendmail-compatible syntax
GNU_CONFIGURE= yes
USE_PKGINSTALL= yes
USE_TOOLS+= bison flex
PTHREAD_OPTS+= require
CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR:Q}
SUBST_CLASSES+= paths
SUBST_MESSAGE.paths= "Fixing hardcoded paths."
SUBST_STAGE.paths= pre-configure
SUBST_FILES.paths= README esmtp.1 esmtprc.5 sample.esmtprc
SUBST_SED.paths= -e 's|/usr/bin|${PREFIX}/bin|g'
SUBST_SED.paths+= -e 's|/etc|${PKG_SYSCONFDIR}|g'
PKG_SYSCONFSUBDIR= esmtp
EGDIR= ${PREFIX}/share/examples/esmtp
CONF_FILES= ${EGDIR}/sample.esmtprc \
${PKG_SYSCONFDIR}/esmtprc
.include "../../mail/libesmtp/buildlink3.mk"
.include "../../security/openssl/buildlink3.mk"
.include "../../mk/pthread.buildlink3.mk"
post-install:
${INSTALL_DATA_DIR} ${EGDIR}
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/esmtp
${INSTALL_DATA} ${WRKSRC}/sample.esmtprc ${EGDIR}
${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/esmtp
.include "../../mk/bsd.pkg.mk"
|