1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-25 00:51:21 +00:00
freebsd-ports/mail/qmail-rblchk/Makefile
Michael Gmelin 6f734db5a0 Stagify.
Reviewed by:	flo (mentor)
Approved by:	flo (mentor)
2014-06-01 16:33:21 +00:00

40 lines
950 B
Makefile

# Created by: Emanuel Haupt <ehaupt@critical.ch>
# $FreeBSD$
PORTNAME= qmail-rblchk
PORTVERSION= 2.4.1
CATEGORIES= mail
MASTER_SITES= http://www.morettoni.net/qmail/ \
CRITICAL
MAINTAINER= ports@FreeBSD.org
COMMENT= Qmail RBL filter
USES= qmail:run
LDFLAGS?= -s
CFLAGS?= -O2 -Wimplicit -Wunused -Wcomment -Wchar-subscripts -Wuninitialized \
-Wshadow -Wcast-qual -Wcast-align -Wwrite-strings
WRKSRC= ${WRKDIR}/${PORTNAME}
ALL_TARGET= default
INSTALL_TARGET= setup
post-patch:
@${REINPLACE_CMD} -e '/"cat/d; s|,02755|,0755|' ${WRKSRC}/hier.c
do-configure:
${PRINTF} "${STAGEDIR}${PREFIX}\n\n.../bin.\n" > ${WRKSRC}/conf-home
${ECHO_CMD} "${CC} ${CFLAGS}" > ${WRKSRC}/conf-cc
${ECHO_CMD} "${CC} ${LDFLAGS}" > ${WRKSRC}/conf-ld
post-install:
${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
.for f in rbllist.sh spam-report.sh dot-qmail-storeip
${INSTALL_DATA} ${WRKSRC}/contrib/${f} ${STAGEDIR}${EXAMPLESDIR}
.endfor
.include <bsd.port.mk>