998bf68fe8
- make -chroot subpackage depend on -main so we get a manpage. - take MAINTAINER (requested by previous MAINTAINER). - add @bin markers while here. ok mbalmer@ on a slightly older diff, ok sthen@
42 lines
921 B
Makefile
42 lines
921 B
Makefile
# $OpenBSD: Makefile,v 1.5 2008/07/20 22:26:00 okan 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}p1
|
|
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>
|