aboutsummaryrefslogtreecommitdiffstats
path: root/security/fpm2
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2018-02-26 17:03:01 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2018-02-26 17:03:01 +0800
commit2a5690fe0af267e8217496f2288d5e9b3247cf22 (patch)
tree511e3ddb683ee0a50b8bb8d499443b8c640566c8 /security/fpm2
parentde3d9c5c638db7cb577260e3fc4c3a7104128326 (diff)
downloadfreebsd-ports-gnome-2a5690fe0af267e8217496f2288d5e9b3247cf22.tar.gz
freebsd-ports-gnome-2a5690fe0af267e8217496f2288d5e9b3247cf22.tar.zst
freebsd-ports-gnome-2a5690fe0af267e8217496f2288d5e9b3247cf22.zip
- Update WWW
- Fix LICENSE - Add LICENSE_FILE - Switch to USES=localbase - Fix build with disabled NLS - Switch to options helpers Approved by: portmgr blanket
Diffstat (limited to 'security/fpm2')
-rw-r--r--security/fpm2/Makefile19
-rw-r--r--security/fpm2/pkg-descr2
2 files changed, 9 insertions, 12 deletions
diff --git a/security/fpm2/Makefile b/security/fpm2/Makefile
index e9c9bc27dbd7..af309b3e63d5 100644
--- a/security/fpm2/Makefile
+++ b/security/fpm2/Makefile
@@ -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@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,9 +28,8 @@ OPTIONS_DEFINE= DOCS NLS
OPTIONS_SUB= yes
-NLS_USES= gettext
-
-.include <bsd.port.options.mk>
+NLS_USES= gettext
+NLS_USES_OFF= gettext-tools
# 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}
diff --git a/security/fpm2/pkg-descr b/security/fpm2/pkg-descr
index 0ad56786ca33..c92e053871b1 100644
--- a/security/fpm2/pkg-descr
+++ b/security/fpm2/pkg-descr
@@ -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/