36 lines
849 B
Makefile
36 lines
849 B
Makefile
# $NetBSD: Makefile.common,v 1.9 2004/01/23 11:27:30 jmmv Exp $
|
|
#
|
|
|
|
DISTNAME= mini_sendmail-1.3.2
|
|
CATEGORIES= mail
|
|
MASTER_SITES= http://www.acme.com/software/mini_sendmail/
|
|
|
|
MAINTAINER= is@NetBSD.org
|
|
HOMEPAGE= http://www.acme.com/software/mini_sendmail/
|
|
COMMENT= Accept email on behalf of the real sendmail without spooling
|
|
|
|
PKG_INSTALLATION_TYPES= overwrite pkgviews
|
|
|
|
USE_BUILDLINK3= yes
|
|
|
|
FILESDIR= ${.CURDIR}/../mini_sendmail/files
|
|
|
|
EGDIR= ${PREFIX}/share/examples/mini_sendmail
|
|
|
|
INSTALLATION_DIRS= man/man8 sbin
|
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
.if (${OPSYS} == SunOS)
|
|
MAKE_ENV+="SYSV_LIBS=-lsocket -lnsl"
|
|
.endif
|
|
|
|
post-build:
|
|
${SED} -e 's#@@PREFIX@@#${PREFIX}#g' \
|
|
<${FILESDIR}/mailer.conf >${WRKDIR}/mailer.conf
|
|
|
|
post-install:
|
|
${INSTALL_DATA_DIR} ${EGDIR}
|
|
${INSTALL_DATA} ${WRKDIR}/mailer.conf ${EGDIR}
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|