2006-06-01 23:44:11 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.5 2006/06/02 03:44:11 aanriot Exp $
|
|
|
|
|
2003-07-22 19:01:16 -04:00
|
|
|
COMMENT= "accept email on behalf of real sendmail"
|
|
|
|
COMMENT-chroot= "static mini_sendmail for chrooted apache"
|
2006-06-01 23:44:11 -04:00
|
|
|
DISTNAME= mini_sendmail-1.3.6
|
|
|
|
PKGNAME-chroot= mini_sendmail-chroot-1.3.6
|
2003-07-22 19:01:16 -04:00
|
|
|
CATEGORIES= mail www
|
|
|
|
MASTER_SITES= ${HOMEPAGE}
|
|
|
|
|
|
|
|
HOMEPAGE= http://www.acme.com/software/mini_sendmail/
|
|
|
|
|
|
|
|
# BSD
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
|
|
|
|
NO_REGRESS= Yes
|
|
|
|
|
|
|
|
MAKE_ENV+= LDFLAGS="${LDFLAGS}"
|
|
|
|
|
|
|
|
MULTI_PACKAGES= -chroot
|
|
|
|
SUBPACKAGE?=
|
|
|
|
|
|
|
|
.if defined(PACKAGING) && !empty(SUBPACKAGE)
|
|
|
|
PREFIX= /var/www
|
2005-01-02 07:56:04 -05:00
|
|
|
.else
|
|
|
|
WANTLIB= c
|
2003-07-22 19:01:16 -04:00
|
|
|
.endif
|
|
|
|
|
|
|
|
do-install:
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/mini_sendmail ${PREFIX}/bin
|
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/mini_sendmail
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/mini_sendmail.8 ${PREFIX}/man/man8
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/mini_sendmail
|
2004-10-13 21:44:06 -04:00
|
|
|
${INSTALL_DATA} ${FILESDIR}/README.php ${PREFIX}/share/doc/mini_sendmail
|
2003-07-22 19:01:16 -04:00
|
|
|
${INSTALL_PROGRAM_DIR} ${WRKINST}/var/www/bin
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/mini_sendmail-static \
|
|
|
|
${WRKINST}/var/www/bin/mini_sendmail
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|