openbsd-ports/mail/femail/Makefile
sthen 16b5bfb2a3 add a note to MESSAGE-chroot explaining that the php mail function needs
/bin/sh. helps avoid hair-pulling and wasting a whole bunch of time...

ok ajacoutot, okan (maintainer)
2009-03-27 18:28:59 +00:00

42 lines
922 B
Makefile

# $OpenBSD: Makefile,v 1.6 2009/03/27 18:28:59 sthen Exp $
COMMENT-main= simple SMTP client
COMMENT-chroot= simple SMTP client for chrooted apache
V= 0.97
DISTNAME= femail-${V}
PKGNAME-main= femail-${V}p1
PKGNAME-chroot= femail-chroot-${V}p2
CATEGORIES= mail
HOMEPAGE= http://bulabula.org/femail/
MAINTAINER= Okan Demirmen <okan@openbsd.org>
# BSD
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MASTER_SITES= ${HOMEPAGE}
EXTRACT_SUFX= .tgz
NO_REGRESS= Yes
MULTI_PACKAGES= -main -chroot
PREFIX-chroot= /var/www
WANTLIB-main= c
RUN_DEPENDS-chroot= ::${BASE_PKGPATH},-main
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/femail ${PREFIX}/sbin
${INSTALL_MAN} ${WRKSRC}/femail.8 ${PREFIX}/man/man8
${INSTALL_PROGRAM_DIR} ${WRKINST}${PREFIX-chroot}/bin
${INSTALL_PROGRAM} ${WRKSRC}/femail-static \
${WRKINST}${PREFIX-chroot}/bin/femail
.include <bsd.port.mk>