c96520b236
Changes this release: - https://forum.kee.pm/t/release-notes-keepassrpc-1-8-0/1107 - In particular, note that earlier versions of KeePassRPC will not work with KeePass 2.39 and higher.
40 lines
904 B
Makefile
40 lines
904 B
Makefile
# Created by: Ben Woods <woodsb02@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= keepassrpc
|
|
PORTVERSION= 1.8.0
|
|
DISTVERSIONPREFIX=v
|
|
CATEGORIES= security
|
|
PKGNAMEPREFIX= keepass-plugin-
|
|
|
|
MAINTAINER= woodsb02@FreeBSD.org
|
|
COMMENT= KeePass plugin which facilitates the Kee Firefox plugin
|
|
|
|
LICENSE= GPLv2
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
BUILD_DEPENDS= keepass>0:security/keepass
|
|
LIB_DEPENDS= libgdiplus.so:x11-toolkits/libgdiplus
|
|
|
|
USES= mono
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= kee-org
|
|
|
|
NO_ARCH= yes
|
|
DATADIR= ${PREFIX}/share/keepass/Plugins
|
|
|
|
OPTIONS_DEFINE= DEBUG
|
|
DEBUG_VARS= config=Debug
|
|
DEBUG_VARS_OFF= config=Release
|
|
|
|
do-build:
|
|
(cd ${WRKSRC} && \
|
|
${SETENV} ${MAKE_ENV} ${LOCALBASE}/bin/xbuild /t:KeePassRPC /p:Configuration=${CONFIG})
|
|
|
|
do-install:
|
|
@${MKDIR} ${STAGEDIR}${DATADIR}
|
|
(cd ${WRKSRC}/KeePassRPC/bin/${CONFIG} && \
|
|
${RM} ./KeePass.exe && \
|
|
${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR})
|
|
|
|
.include <bsd.port.mk>
|