freebsd-ports/mail/qmail-autoresponder/Makefile
Gabor Kovesdan c0ce4105e7 Remove USE_GPG from all effected ports. This knob is a no-op and the way it
was supposed to work is useless, because if we can't trust the distfile from
the remote machine, we can't trust the signature from the same machine either.
Our MD5 and SHA256 are good for checking both the sanity and the
trustiness of distfiles.

Approved by:	portmgr (erwin), erwin (mentor)
2007-01-29 19:05:07 +00:00

59 lines
1.5 KiB
Makefile

# New ports collection makefile for: qmail-autoresponder
# Date created: 25 Mar 2003
# Whom: Sergei Kolobov <sergei@kolobov.com>
#
# $FreeBSD$
#
# Compile-time options:
# WITH_MYSQL=yes enable support for MySQL
#
PORTNAME= qmail-autoresponder
PORTVERSION= 0.96.2
PORTREVISION= 1
CATEGORIES= mail
MASTER_SITES= http://untroubled.org/${PORTNAME}/
MAINTAINER= sergei@FreeBSD.org
COMMENT= Rate-limited autoresponder for qmail
LIB_DEPENDS= bg-sysdeps.1:${PORTSDIR}/devel/bglibs
LDFLAGS?= -s
BGLIBS_INC= ${LOCALBASE}/include/bglibs
BGLIBS_LIB= ${LOCALBASE}/lib/bglibs
PROGS= qmail-autoresponder
MAN1= qmail-autoresponder.1
DOCS= NEWS README TODO procedure.txt
.if defined(WITH_MYSQL)
USE_MYSQL= yes
CFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib/mysql
PROGS+= qmail-autoresponder-mysql
DOCS+= schema.mysql
PLIST_SUB+= MYSQL=""
.else
PLIST_SUB+= MYSQL="@comment "
.endif
ALL_TARGET= ${PROGS}
do-configure:
${ECHO_CMD} "${PREFIX}/bin" > ${WRKSRC}/conf-bin
${ECHO_CMD} "${MANPREFIX}/man" > ${WRKSRC}/conf-man
${ECHO_CMD} "${CC} ${CFLAGS}" > ${WRKSRC}/conf-cc
${ECHO_CMD} "${CC} ${LDFLAGS}" > ${WRKSRC}/conf-ld
${ECHO_CMD} "${BGLIBS_INC}" > ${WRKSRC}/conf-bgincs
${ECHO_CMD} "${BGLIBS_LIB}" > ${WRKSRC}/conf-bglibs
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
.include <bsd.port.mk>