ad6ceadd25
on packages that are affected by the switch from the openssl 0.9.7 branch to the 0.9.8 branch. ok jlam@
43 lines
1.2 KiB
Makefile
43 lines
1.2 KiB
Makefile
# $NetBSD: Makefile,v 1.9 2008/01/18 05:08:23 tnn Exp $
|
|
#
|
|
|
|
DISTNAME= esmtp-0.5.1
|
|
PKGREVISION= 3
|
|
CATEGORIES= mail
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=esmtp/}
|
|
EXTRACT_SUFX= .tar.bz2
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= http://esmtp.sourceforge.net/
|
|
COMMENT= Relay-only Mail Transfer Agent with sendmail-compatible syntax
|
|
|
|
GNU_CONFIGURE= 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"
|