svn commit: r463003 - head/security/fpm2

Dmitry Marakasov amdmi3 at FreeBSD.org
Mon Feb 26 09:03:02 UTC 2018


Author: amdmi3
Date: Mon Feb 26 09:03:01 2018
New Revision: 463003
URL: https://svnweb.freebsd.org/changeset/ports/463003

Log:
  - Update WWW
  - Fix LICENSE
  - Add LICENSE_FILE
  - Switch to USES=localbase
  - Fix build with disabled NLS
  - Switch to options helpers
  
  Approved by:	portmgr blanket

Modified:
  head/security/fpm2/Makefile
  head/security/fpm2/pkg-descr

Modified: head/security/fpm2/Makefile
==============================================================================
--- head/security/fpm2/Makefile	Mon Feb 26 09:02:41 2018	(r463002)
+++ head/security/fpm2/Makefile	Mon Feb 26 09:03:01 2018	(r463003)
@@ -5,21 +5,20 @@ PORTNAME=	fpm2
 PORTVERSION=	0.79
 PORTREVISION=	1
 CATEGORIES=	security
-MASTER_SITES=	http://als.regnet.cz/fpm2/download/
+MASTER_SITES=	https://als.regnet.cz/fpm2/download
 
 MAINTAINER=	nemysis at FreeBSD.org
 COMMENT=	Program that allows you to securely store the passwords
 
-LICENSE=	GPLv2
+LICENSE=	GPLv2+
+LICENSE_FILE=	${WRKSRC}/COPYING
 
 BUILD_DEPENDS=	p5-XML-Parser>=0:textproc/p5-XML-Parser
 
-USES=		gmake pkgconfig tar:bzip2
+USES=		gmake localbase pkgconfig tar:bzip2
 USE_GNOME=	gtk20 intltool
 INSTALLS_OMF=	yes
 GNU_CONFIGURE=	yes
-CPPFLAGS+=	-I${LOCALBASE}/include
-LIBS+=		-L${LOCALBASE}/lib
 
 PORTDOCS=	AUTHORS ChangeLog README
 
@@ -29,10 +28,9 @@ OPTIONS_DEFINE=	DOCS NLS
 
 OPTIONS_SUB=	yes
 
-NLS_USES=		gettext
+NLS_USES=	gettext
+NLS_USES_OFF=	gettext-tools
 
-.include <bsd.port.options.mk>
-
 # Restrict to stable (even) versions, indicated by the second component.
 PORTSCOUT=	limit:^0.7\..*
 
@@ -48,11 +46,10 @@ post-patch:
 	@${REINPLACE_CMD} -e 's|gdk_pixbuf_unref|g_object_unref|g' \
 		${WRKSRC}/src/interface.c
 
-.if ! ${PORT_OPTIONS:MNLS}
+post-patch-NLS-off:
 	@${REINPLACE_CMD} -e 's|USE_NLS=yes|USE_NLS=no|' ${WRKSRC}/configure
-.endif
 
-post-install:
+post-install-DOCS-on:
 	@${MKDIR} ${STAGEDIR}${DOCSDIR}
 	${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
 

Modified: head/security/fpm2/pkg-descr
==============================================================================
--- head/security/fpm2/pkg-descr	Mon Feb 26 09:02:41 2018	(r463002)
+++ head/security/fpm2/pkg-descr	Mon Feb 26 09:03:01 2018	(r463003)
@@ -15,4 +15,4 @@ passwords using GTK2 interface. Features include:
 - Auto-minimise and/or auto-locking passwords database after configurable time
   to the tray icon.
 
-WWW: http://als.regnet.cz/fpm2/
+WWW: https://als.regnet.cz/fpm2/


More information about the svn-ports-head mailing list