Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 5 Apr 2016 15:56:52 +0000 (UTC)
From:      Dmitry Marakasov <amdmi3@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r412566 - in head/mail/pine-pgp-filters: . files
Message-ID:  <201604051556.u35Fuqho053852@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Tue Apr  5 15:56:52 2016
New Revision: 412566
URL: https://svnweb.freebsd.org/changeset/ports/412566

Log:
  - Add LICENSE
  - Fix depends
  - Switch to HAS_CONFIGURE
  - Switch to options helpers
  - Substitude PREFIX in pkg-message and make it dependent on DOCS option

Added:
  head/mail/pine-pgp-filters/files/pkg-message.in
     - copied, changed from r412565, head/mail/pine-pgp-filters/pkg-message
Deleted:
  head/mail/pine-pgp-filters/pkg-message
Modified:
  head/mail/pine-pgp-filters/Makefile
  head/mail/pine-pgp-filters/files/patch-Makefile.in

Modified: head/mail/pine-pgp-filters/Makefile
==============================================================================
--- head/mail/pine-pgp-filters/Makefile	Tue Apr  5 15:56:36 2016	(r412565)
+++ head/mail/pine-pgp-filters/Makefile	Tue Apr  5 15:56:52 2016	(r412566)
@@ -2,31 +2,39 @@
 
 PORTNAME=	pine-pgp-filters
 PORTVERSION=	1.8
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	mail security
 MASTER_SITES=	LOCAL/marino
 DISTFILES=	${DISTNAME}${EXTRACT_SUFX} ${DISTNAME}${EXTRACT_SUFX}.asc
 EXTRACT_ONLY=	${DISTNAME}${EXTRACT_SUFX}
 
 MAINTAINER=	ports@FreeBSD.org
-COMMENT=	Simple /bin/sh-based filters to use GnuPG with Alpine
+COMMENT=	Simple sh-based filters to use GnuPG with Alpine
+
+LICENSE=	BSD2CLAUSE
+LICENSE_FILE=	${WRKSRC}/LICENSE
 
 BUILD_DEPENDS=	gpg2:security/gnupg
-RUN_DEPENDS+=	gpg2:security/gnupg
-RUN_DEPENDS=	alpine:mail/alpine
+RUN_DEPENDS=	alpine:mail/alpine \
+		gpg2:security/gnupg
+
+HAS_CONFIGURE=	yes
+CONFIGURE_ARGS=	--prefix=${PREFIX}
+NO_ARCH=	yes
 
-PORTDOCS=	BUGS CHANGES INSTALL LICENSE README
+PORTDOCS=	BUGS CHANGES INSTALL README
 PLIST_FILES=	bin/ppf_mime bin/ppf_mime_decrypt \
 		libexec/ppf_decrypt libexec/ppf_encrypt libexec/ppf_mime \
 		libexec/ppf_mime_decrypt libexec/ppf_sign libexec/ppf_verify
 
+OPTIONS_DEFINE=	DOCS
+
+DOCS_SUB_FILES=	pkg-message
+
 verify:	checksum
 	gpg --verify ${DISTDIR}/${DISTNAME}${EXTRACT_SUFX}.asc
 
-do-configure:
-	@(cd ${WRKSRC} && ./configure --prefix=${PREFIX})
-
-post-install:
+post-install-DOCS-on:
 	@${MKDIR} ${STAGEDIR}${DOCSDIR}
 .for file in ${PORTDOCS}
 	${INSTALL_DATA} ${WRKSRC}/${file} ${STAGEDIR}${DOCSDIR}

Modified: head/mail/pine-pgp-filters/files/patch-Makefile.in
==============================================================================
--- head/mail/pine-pgp-filters/files/patch-Makefile.in	Tue Apr  5 15:56:36 2016	(r412565)
+++ head/mail/pine-pgp-filters/files/patch-Makefile.in	Tue Apr  5 15:56:52 2016	(r412566)
@@ -1,5 +1,5 @@
---- Makefile.in.orig	2014-08-27 11:21:39.552449460 +0800
-+++ Makefile.in	2014-08-27 11:22:32.666448424 +0800
+--- Makefile.in.orig	2010-04-12 00:37:45 UTC
++++ Makefile.in
 @@ -9,18 +9,18 @@ all:
  	done
  

Copied and modified: head/mail/pine-pgp-filters/files/pkg-message.in (from r412565, head/mail/pine-pgp-filters/pkg-message)
==============================================================================
--- head/mail/pine-pgp-filters/pkg-message	Tue Apr  5 15:56:36 2016	(r412565, copy source)
+++ head/mail/pine-pgp-filters/files/pkg-message.in	Tue Apr  5 15:56:52 2016	(r412566)
@@ -1,6 +1,6 @@
 
 ***************************************************************************
-*** To learn how to configure Alpine to use these filters, see the docs ***
-*** in PREFIX/share/doc/pine-pgp-filters. PREFIX is usually /usr/local. ***
+To learn how to configure Alpine to use these filters, see the docs
+in %%PREFIX%%/share/doc/pine-pgp-filters.
 ***************************************************************************
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201604051556.u35Fuqho053852>