svn commit: r380234 - head/mail/libspf

Dmitry Marakasov amdmi3 at FreeBSD.org
Mon Mar 2 00:37:11 UTC 2015


Author: amdmi3
Date: Mon Mar  2 00:37:10 2015
New Revision: 380234
URL: https://svnweb.freebsd.org/changeset/ports/380234
QAT: https://qat.redports.org/buildarchive/r380234/

Log:
  - Simplify MASTER_SITES
  - Add LICENSE
  - Fix build as non-root
  - Drop @dirrm* from plist
  - Add empty directory to plist

Modified:
  head/mail/libspf/Makefile
  head/mail/libspf/pkg-plist

Modified: head/mail/libspf/Makefile
==============================================================================
--- head/mail/libspf/Makefile	Sun Mar  1 22:44:15 2015	(r380233)
+++ head/mail/libspf/Makefile	Mon Mar  2 00:37:10 2015	(r380234)
@@ -6,12 +6,14 @@ DISTVERSION=	1.0.0-p5
 PORTREVISION=	1
 CATEGORIES=	mail
 MASTER_SITES=	http://www.libspf.org/files/src/ \
-		${MASTER_SITE_LOCAL}
-MASTER_SITE_SUBDIR=	mnag/${PORTNAME}
+		LOCAL/mnag/${PORTNAME}
 
 MAINTAINER=	ports at FreeBSD.org
 COMMENT=	Sender Policy Framework (SPF) library and client
 
+LICENSE=	BSD2CLAUSE
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
 MAKE_JOBS_UNSAFE=yes
 
 GNU_CONFIGURE=	yes
@@ -41,6 +43,9 @@ CONFIGURE_ARGS+=	--enable-logfile-stats
 CONFIGURE_ARGS+=	--enable-debug
 .endif
 
+post-extract:
+	@${CHMOD} u+w ${CONFIGURE_WRKSRC}/${CONFIGURE_SCRIPT}
+
 post-install:
 .if ${PORT_OPTIONS:MDOCS}
 	@${MKDIR} ${STAGEDIR}${DOCSDIR}

Modified: head/mail/libspf/pkg-plist
==============================================================================
--- head/mail/libspf/pkg-plist	Sun Mar  1 22:44:15 2015	(r380233)
+++ head/mail/libspf/pkg-plist	Mon Mar  2 00:37:10 2015	(r380234)
@@ -39,19 +39,6 @@ lib/libspf.so
 %%DATADIR%%/patches/qmail/1.05/netqmail-1.05-libspf-1.0.0-RC5.diff
 %%DATADIR%%/patches/qmail/1.05/netqmail-1.05-libspf-1.0.0-RC6.diff
 %%DATADIR%%/patches/qmail/README
- at dirrm %%DATADIR%%/patches/qmail/1.05
- at dirrm %%DATADIR%%/patches/qmail/1.03
- at dirrm %%DATADIR%%/patches/qmail
- at dirrm %%DATADIR%%/patches/Sendmail/8.13.x
- at dirrm %%DATADIR%%/patches/Sendmail/8.12.x
- at dirrm %%DATADIR%%/patches/Sendmail
- at dirrm %%DATADIR%%/patches/Postfix/2.1.x
- at dirrm %%DATADIR%%/patches/Postfix
- at dirrm %%DATADIR%%/patches/Courier-MTA
- at dirrm %%DATADIR%%/patches
- at dirrm %%DATADIR%%
-%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%/examples/qmail/control
-%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%/examples/qmail
-%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%/examples/Sendmail
-%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%/examples
-%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%
+%%PORTDOCS%%@dir %%DOCSDIR%%/docs/qmail/1.04
+%%PORTDOCS%%@dir %%DOCSDIR%%/docs/qmail/1.03
+%%PORTDOCS%%@dir %%DOCSDIR%%/docs/Postfix/2.1.x


More information about the svn-ports-head mailing list