openbsd-ports/mail/mini_sendmail/Makefile

42 lines
1.1 KiB
Makefile
Raw Normal View History

2006-11-26 04:37:38 -05:00
# $OpenBSD: Makefile,v 1.6 2006/11/26 09:37:38 steven Exp $
2006-11-26 04:37:38 -05:00
COMMENT-main= "accept email on behalf of real sendmail"
COMMENT-chroot= "static mini_sendmail for chrooted apache"
2006-11-26 04:37:38 -05:00
V= 1.3.6
DISTNAME= mini_sendmail-${V}
PKGNAME= mini_sendmail-${V}p0
PKGNAME-main= mini_sendmail-${V}p0
PKGNAME-chroot= mini_sendmail-chroot-${V}
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}"
2006-11-26 04:37:38 -05:00
MULTI_PACKAGES= -main -chroot
2006-11-26 04:37:38 -05:00
PREFIX-chroot= /var/www
WANTLIB-main= c
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
${INSTALL_PROGRAM_DIR} ${WRKINST}/var/www/bin
${INSTALL_PROGRAM} ${WRKSRC}/mini_sendmail-static \
${WRKINST}/var/www/bin/mini_sendmail
.include <bsd.port.mk>