2013-09-20 21:59:12 +02:00
|
|
|
# Created by: Sergei Kolobov <sergei@kolobov.com>
|
2003-05-10 14:24:57 +02:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= qmail-autoresponder
|
2010-04-27 03:15:38 +02:00
|
|
|
PORTVERSION= 0.97
|
2011-03-19 14:15:34 +01:00
|
|
|
PORTREVISION= 1
|
2003-05-10 14:24:57 +02:00
|
|
|
CATEGORIES= mail
|
2003-12-24 15:01:43 +01:00
|
|
|
MASTER_SITES= http://untroubled.org/${PORTNAME}/
|
2003-05-10 14:24:57 +02:00
|
|
|
|
2010-04-29 00:20:23 +02:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-05-10 14:24:57 +02:00
|
|
|
COMMENT= Rate-limited autoresponder for qmail
|
|
|
|
|
2008-08-10 23:19:18 +02:00
|
|
|
LIB_DEPENDS= bg-sysdeps.2:${PORTSDIR}/devel/bglibs
|
2003-05-10 14:24:57 +02:00
|
|
|
|
2010-04-27 03:15:38 +02:00
|
|
|
USE_MYSQL= yes
|
2003-12-24 15:01:43 +01:00
|
|
|
|
2010-04-27 03:15:38 +02:00
|
|
|
CFLAGS+= -I${LOCALBASE}/include -I${LOCALBASE}/include/bglibs
|
2012-04-11 05:34:16 +02:00
|
|
|
LDFLAGS+= -L${LOCALBASE}/lib/mysql -L${LOCALBASE}/lib/bglibs
|
2003-05-10 14:24:57 +02:00
|
|
|
|
2010-04-27 03:15:38 +02:00
|
|
|
PROGS= qmail-autoresponder qmail-autoresponder-mysql
|
|
|
|
MAN1= qmail-autoresponder.1
|
|
|
|
DOCS= NEWS README TODO procedure.txt schema.mysql
|
2003-05-10 14:24:57 +02:00
|
|
|
|
|
|
|
ALL_TARGET= ${PROGS}
|
|
|
|
|
2013-09-20 21:59:12 +02:00
|
|
|
NO_STAGE= yes
|
2003-12-24 15:01:43 +01:00
|
|
|
do-configure:
|
2003-05-10 14:24:57 +02:00
|
|
|
${ECHO_CMD} "${PREFIX}/bin" > ${WRKSRC}/conf-bin
|
|
|
|
${ECHO_CMD} "${MANPREFIX}/man" > ${WRKSRC}/conf-man
|
|
|
|
${ECHO_CMD} "${CC} ${CFLAGS}" > ${WRKSRC}/conf-cc
|
2012-04-11 05:34:16 +02:00
|
|
|
${ECHO_CMD} "${CC} ${STRIP} ${LDFLAGS}" > ${WRKSRC}/conf-ld
|
2003-05-10 14:24:57 +02:00
|
|
|
|
|
|
|
do-install:
|
|
|
|
cd ${WRKSRC} && ${INSTALL_PROGRAM} ${PROGS} ${PREFIX}/bin
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/${MAN1} ${MANPREFIX}/man/man1
|
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
@${MKDIR} ${DOCSDIR}
|
|
|
|
cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${DOCSDIR}
|
|
|
|
.endif
|
|
|
|
|
2003-10-22 21:39:04 +02:00
|
|
|
.include <bsd.port.mk>
|