svn commit: r493886 - head/sysutils/password-store

Rene Ladan rene at FreeBSD.org
Mon Feb 25 18:24:46 UTC 2019


Author: rene
Date: Mon Feb 25 18:24:44 2019
New Revision: 493886
URL: https://svnweb.freebsd.org/changeset/ports/493886

Log:
  sysutils/password-store: use new website in WWW line [1]
  
  While here, replace hardcoded "password-store" by ${PORTNAME} in Makefile
  
  PR:		236028
  Submitted by:	Nuno Teixeira <ed.arrakis at gmail.com>

Modified:
  head/sysutils/password-store/Makefile
  head/sysutils/password-store/pkg-descr

Modified: head/sysutils/password-store/Makefile
==============================================================================
--- head/sysutils/password-store/Makefile	Mon Feb 25 17:22:55 2019	(r493885)
+++ head/sysutils/password-store/Makefile	Mon Feb 25 18:24:44 2019	(r493886)
@@ -4,7 +4,7 @@ PORTNAME=	password-store
 PORTVERSION=	1.7.3
 PORTREVISION=	1
 CATEGORIES=	sysutils
-MASTER_SITES=	https://git.zx2c4.com/password-store/snapshot/
+MASTER_SITES=	https://git.zx2c4.com/${PORTNAME}/snapshot/
 
 MAINTAINER=	rene at FreeBSD.org
 COMMENT=	Stores, retrieves, generates, and synchronizes passwords securely
@@ -43,15 +43,15 @@ SUB_FILES=		pass
 
 post-patch:
 	@${REINPLACE_CMD} -Ee 's|/usr/local|${LOCALBASE}|g' ${WRKSRC}/src/platform/freebsd.sh
-	@${REINPLACE_CMD} -Ee 's|^SYSTEM_EXTENSION_DIR=""|SYSTEM_EXTENSION_DIR="${PREFIX}/libexec/password-store/extensions"|g' \
-		${WRKSRC}/src/password-store.sh
+	@${REINPLACE_CMD} -Ee 's|^SYSTEM_EXTENSION_DIR=""|SYSTEM_EXTENSION_DIR="${PREFIX}/libexec/${PORTNAME}/extensions"|g' \
+		${WRKSRC}/src/${PORTNAME}.sh
 
 do-install:
 	${INSTALL_SCRIPT} ${WRKDIR}/pass ${STAGEDIR}${PREFIX}/bin/
-	${MKDIR} ${STAGEDIR}${PREFIX}/libexec/password-store/extensions
-	${MKDIR} ${STAGEDIR}${PREFIX}/libexec/password-store/platform
-	${INSTALL_SCRIPT} ${WRKSRC}/src/password-store.sh ${STAGEDIR}${PREFIX}/libexec/password-store/pass
-	${INSTALL_SCRIPT} ${WRKSRC}/src/platform/freebsd.sh ${STAGEDIR}${PREFIX}/libexec/password-store/platform/
+	${MKDIR} ${STAGEDIR}${PREFIX}/libexec/${PORTNAME}/extensions
+	${MKDIR} ${STAGEDIR}${PREFIX}/libexec/${PORTNAME}/platform
+	${INSTALL_SCRIPT} ${WRKSRC}/src/${PORTNAME}.sh ${STAGEDIR}${PREFIX}/libexec/${PORTNAME}/pass
+	${INSTALL_SCRIPT} ${WRKSRC}/src/platform/freebsd.sh ${STAGEDIR}${PREFIX}/libexec/${PORTNAME}/platform/
 	${INSTALL_MAN} ${WRKSRC}/man/pass.1 ${STAGEDIR}${MANPREFIX}/man/man1/pass.1
 
 do-install-CONTRIB-on:
@@ -62,9 +62,9 @@ do-install-CONTRIB-on:
 	@${MKDIR} ${STAGEDIR}${PREFIX}/share/zsh/site-functions
 	${INSTALL_DATA} ${STAGEDIR}${DATADIR}/pass.zsh-completion ${STAGEDIR}${PREFIX}/share/zsh/site-functions/_pass
 	@${MKDIR} ${STAGEDIR}${PREFIX}/etc/bash_completion.d
-	${INSTALL_DATA} ${STAGEDIR}${DATADIR}/pass.bash-completion ${STAGEDIR}${PREFIX}/etc/bash_completion.d/password-store
+	${INSTALL_DATA} ${STAGEDIR}${DATADIR}/pass.bash-completion ${STAGEDIR}${PREFIX}/etc/bash_completion.d/${PORTNAME}
 	@${MKDIR} ${STAGEDIR}${PREFIX}/share/fish/completions
-	${INSTALL_DATA} ${STAGEDIR}${DATADIR}/pass.fish-completion ${STAGEDIR}${PREFIX}/share/fish/completions/password-store.fish
+	${INSTALL_DATA} ${STAGEDIR}${DATADIR}/pass.fish-completion ${STAGEDIR}${PREFIX}/share/fish/completions/${PORTNAME}.fish
 
 do-install-EXAMPLES-on:
 	@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}

Modified: head/sysutils/password-store/pkg-descr
==============================================================================
--- head/sysutils/password-store/pkg-descr	Mon Feb 25 17:22:55 2019	(r493885)
+++ head/sysutils/password-store/pkg-descr	Mon Feb 25 18:24:44 2019	(r493886)
@@ -15,4 +15,4 @@ You can edit the password store using ordinary Unix sh
 pass command. There are no funky file formats or new paradigms to learn. There
 is bash completion so that you can simply hit tab to fill in names.
 
-WWW: http://zx2c4.com/projects/password-store/
+WWW: https://www.password-store.org/


More information about the svn-ports-all mailing list