From b8b75a39e2f279d30e2e20483b7d31afa6b3254b Mon Sep 17 00:00:00 2001 From: mnag Date: Tue, 9 May 2006 02:21:46 +0000 Subject: - Update to 1.0.0-p5 - Reorganize Makefile - Correct detection of WITH/WITHOUT OPTIONS --- mail/libspf/Makefile | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-) (limited to 'mail/libspf/Makefile') diff --git a/mail/libspf/Makefile b/mail/libspf/Makefile index aa78594cec0f..a62c6d22bfb5 100644 --- a/mail/libspf/Makefile +++ b/mail/libspf/Makefile @@ -6,8 +6,7 @@ # PORTNAME= libspf -DISTVERSION= 1.0.0-p3 -PORTREVISION= 2 +DISTVERSION= 1.0.0-p5 CATEGORIES= mail MASTER_SITES= http://www.libspf.org/files/src/ @@ -15,30 +14,34 @@ MAINTAINER= mnag@FreeBSD.org COMMENT= Sender Policy Framework (SPF) library and client USE_BZIP2= yes +USE_AUTOTOOLS= libtool:15 GNU_CONFIGURE= yes + INSTALLS_SHLIB= yes +PORTDOCS= * + OPTIONS= RFC_RECURSION "Change SPF recursion to 20 (as per RFC)" off \ LOGFILE_STATS "Enables logfile stats" off \ DEBUG "Enables debug option" off .include -.if !defined(WITHOUT_RFC_RECURSION) +.if defined(WITH_RFC_RECURSION) CONFIGURE_ARGS+= --enable-rfc-recursion .endif -.if !defined(WITHOUT_LOGFILE_STATS) +.if defined(WITH_LOGFILE_STATS) CONFIGURE_ARGS+= --enable-logfile-stats .endif -.if !defined(WITHOUT_DEBUG) +.if defined(WITH_DEBUG) CONFIGURE_ARGS+= --enable-debug .endif -.if !defined(NOPORTDOCS) -PORTDOCS= * -.endif +post-patch: + @${REINPLACE_CMD} -e "s|CFLAGS =|CFLAGS +=|" \ + ${WRKSRC}/src/libspf/Makefile.in ${WRKSRC}/src/spfqtool/Makefile.in post-install: .if !defined(NOPORTDOCS) -- cgit