pkgsrc/mail/mini_sendmail/Makefile.common
rillig 2829e658f2 Mechanically replaced man/* with ${PKGMANDIR}/* in the definition of
INSTALLATION_DIRS, as well as all occurrences of ${PREFIX}/man with
${PREFIX}/${PKGMANDIR}.

Fixes PR 35265, although I did not use the patch provided therein.
2007-01-07 09:13:46 +00:00

35 lines
841 B
Makefile

# $NetBSD: Makefile.common,v 1.13 2007/01/07 09:13:58 rillig Exp $
#
DISTNAME= mini_sendmail-1.3.6
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
FILESDIR= ${.CURDIR}/../mini_sendmail/files
EGDIR= ${PREFIX}/share/examples/mini_sendmail
INSTALLATION_DIRS= ${PKGMANDIR}/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"