mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-27 00:57:50 +00:00
8ee821f5cf
some dracd_xxx variables already defined in rc.conf) - Add new FTP mirror, since mirrors for this are few - Remove pkg-message; that notice has been around long enough :) - Grammatical fixes/wording in pkg-descr - Take over as maintainer of this port PR: ports/105722 Reviewed by: philip Approved by: philip
68 lines
2.0 KiB
Makefile
68 lines
2.0 KiB
Makefile
# New ports collection makefile for: drac
|
|
# Date created: 07 January 2001
|
|
# Whom: Anders Nordby <anders@fix.no>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= drac
|
|
PORTVERSION= 1.12
|
|
PORTREVISION= 7
|
|
CATEGORIES= mail
|
|
MASTER_SITES= ftp://ftp.cc.umanitoba.ca/src/ \
|
|
ftp://ftp.parodius.com/pub/umanitoba/ \
|
|
http://atreides.freenix.no/~anders/ \
|
|
ftp://totem.fix.no/pub/mirrors/misc/
|
|
DISTNAME= ${PORTNAME}
|
|
EXTRACT_SUFX= .tar.Z
|
|
|
|
MAINTAINER= koitsu@FreeBSD.org
|
|
COMMENT= Dynamic Relay Authorization Control, a POP-before-SMTP implementation
|
|
|
|
.if defined(WITH_POSTFIX_DB3)
|
|
LIB_DEPENDS+= db3.3:${PORTSDIR}/databases/db3
|
|
.endif
|
|
.if defined(WITH_POSTFIX_DB41)
|
|
LIB_DEPENDS+= db41.1:${PORTSDIR}/databases/db41
|
|
.endif
|
|
|
|
NO_WRKSUBDIR= yes
|
|
USE_RC_SUBR= dracd.sh
|
|
|
|
MAN3= dracauth.3
|
|
MAN1= rpc.dracd.1
|
|
|
|
.include <bsd.port.pre.mk>
|
|
.if ${OSVERSION} >= 500018
|
|
MAKE_ARGS+= -DWITH_TI_RPC
|
|
.endif
|
|
|
|
pre-everything::
|
|
@${ECHO_MSG} "============================================================="
|
|
@${ECHO_MSG} "For databases compatible with other MTAs than sendmail, use:"
|
|
@${ECHO_MSG}
|
|
@${ECHO_MSG} "WITH_POSTFIX=yes (Postfix)"
|
|
@${ECHO_MSG} "WITH_POSTFIX_DB3=yes (Postfix with DB3 database maps)"
|
|
@${ECHO_MSG} "WITH_POSTFIX_DB41=yes (Postfix with DB41 database maps)"
|
|
@${ECHO_MSG} "WITH_EXIM=yes (Exim)"
|
|
@${ECHO_MSG}
|
|
@${ECHO_MSG} "Define WITH_FOREGROUND to make the rpc.dracd daemon stay in"
|
|
@${ECHO_MSG} "foreground instead of detaching itself. This breaks the"
|
|
@${ECHO_MSG} "startup script."
|
|
@${ECHO_MSG} "============================================================="
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e "s|%%PREFIX%%|${PREFIX}|g" ${WRKSRC}/rpc.dracd.1m
|
|
|
|
do-install:
|
|
@${INSTALL_PROGRAM} ${WRKSRC}/rpc.dracd ${PREFIX}/sbin/
|
|
@${INSTALL_DATA} ${WRKSRC}/drac.h ${PREFIX}/include/
|
|
@${INSTALL_DATA} ${WRKSRC}/libdrac.a ${PREFIX}/lib/
|
|
@${INSTALL_DATA} ${WRKSRC}/dracd.allow-sample ${PREFIX}/etc/
|
|
.if !defined(NOPORTDOCS)
|
|
@${INSTALL_MAN} ${WRKSRC}/dracauth.3 ${PREFIX}/man/man3/
|
|
@${INSTALL_MAN} ${WRKSRC}/rpc.dracd.1m ${PREFIX}/man/man1/rpc.dracd.1
|
|
.endif
|
|
|
|
.include <bsd.port.post.mk>
|