diff options
author | mnag <mnag@FreeBSD.org> | 2006-05-09 10:21:46 +0800 |
---|---|---|
committer | mnag <mnag@FreeBSD.org> | 2006-05-09 10:21:46 +0800 |
commit | b8b75a39e2f279d30e2e20483b7d31afa6b3254b (patch) | |
tree | 0090bef72702990aebf4fa67eef3db747249faa3 /mail/libspf/Makefile | |
parent | 582783554769de57fd0402833b6d0fae88d6075d (diff) | |
download | freebsd-ports-gnome-b8b75a39e2f279d30e2e20483b7d31afa6b3254b.tar.gz freebsd-ports-gnome-b8b75a39e2f279d30e2e20483b7d31afa6b3254b.tar.zst freebsd-ports-gnome-b8b75a39e2f279d30e2e20483b7d31afa6b3254b.zip |
- Update to 1.0.0-p5
- Reorganize Makefile
- Correct detection of WITH/WITHOUT OPTIONS
Diffstat (limited to 'mail/libspf/Makefile')
-rw-r--r-- | mail/libspf/Makefile | 19 |
1 files changed, 11 insertions, 8 deletions
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 <bsd.port.pre.mk> -.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) |