- Update WWW
- Fix LICENSE - Add LICENSE_FILE - Switch to USES=localbase - Fix build with disabled NLS - Switch to options helpers Approved by: portmgr blanket
This commit is contained in:
parent
74c98f3a56
commit
3e3203b121
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=463003
@ -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}
|
||||
|
||||
|
@ -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/
|
||||
|
Loading…
Reference in New Issue
Block a user