2003-12-24 10:42:36 +00:00
|
|
|
# New ports collection makefile for: relay-ctrl
|
|
|
|
# Date created: 2003-12-05
|
|
|
|
# Whom: Fumihiko Kimura <jfkimura@yahoo.co.jp>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= relay-ctrl
|
|
|
|
PORTVERSION= 3.1.1
|
2004-03-24 19:57:02 +00:00
|
|
|
PORTREVISION= 1
|
2003-12-24 10:42:36 +00:00
|
|
|
CATEGORIES= mail
|
|
|
|
MASTER_SITES= http://untroubled.org/${PORTNAME}/
|
|
|
|
|
2004-10-11 23:03:57 +00:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-12-24 10:42:36 +00:00
|
|
|
COMMENT= SMTP Relaying Control for qmail & tcpserver
|
|
|
|
|
|
|
|
.if defined(WITH_DAEMONTOOLS)
|
|
|
|
RUN_DEPENDS+= ${LOCALBASE}/bin/envdir:${PORTSDIR}/sysutils/daemontools
|
|
|
|
.endif
|
|
|
|
|
|
|
|
RELAY_CTRL_EXPIRY?= 900
|
|
|
|
RELAY_CTRL_RELAYCLIENT?= # e.g. "@example.com" (default: empty)
|
|
|
|
|
|
|
|
MAN8= relay-ctrl-age.8 relay-ctrl-allow.8 relay-ctrl-check.8 \
|
|
|
|
relay-ctrl-send.8 relay-ctrl-udp.8
|
|
|
|
DOCS= ANNOUNCEMENT NEWS README TODO packet.html
|
|
|
|
|
2010-01-31 03:50:15 +00:00
|
|
|
PKGDEINSTALL= ${PKGINSTALL}
|
|
|
|
SUB_FILES= pkg-message pkg-install
|
|
|
|
SUB_LIST= EXPIRY=${RELAY_CTRL_EXPIRY} FIXUP=${RELAY_CTRL_RELAYCLIENT}
|
2003-12-24 10:42:36 +00:00
|
|
|
|
|
|
|
do-configure:
|
|
|
|
${ECHO_CMD} "${CC} ${CFLAGS}" > ${WRKSRC}/conf-cc
|
|
|
|
${ECHO_CMD} "${CC} ${STRIP}" > ${WRKSRC}/conf-ld
|
|
|
|
${ECHO_CMD} "${PREFIX}/bin" > ${WRKSRC}/conf-bin
|
|
|
|
${ECHO_CMD} "${MANPREFIX}/man" > ${WRKSRC}/conf-man
|
|
|
|
|
|
|
|
do-install:
|
|
|
|
cd ${WRKSRC} && ./installer
|
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
@${MKDIR} ${DOCSDIR}
|
|
|
|
cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${DOCSDIR}
|
|
|
|
.endif
|
|
|
|
@${SETENV} PKG_PREFIX="${PREFIX}" ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
|
2004-03-24 19:57:02 +00:00
|
|
|
@${CAT} ${PKGMESSAGE}
|
2003-12-24 10:42:36 +00:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|