summaryrefslogtreecommitdiff
path: root/security/mypasswordsafe/Makefile
blob: bbea34103f5344b95568af15a6e9da638c0610f6 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# New ports collection makefile for:	mypasswordsafe
# Date created:				2006-11-26
# Whom:					alepulver
#
# $FreeBSD$
#

PORTNAME=	MyPasswordSafe
PORTVERSION=	20061216
PORTREVISION=	1
CATEGORIES=	security
MASTER_SITES=	http://www.semanticgap.com/myps/release/
EXTRACT_SUFX=	.src.tgz

MAINTAINER=	alepulver@FreeBSD.org
COMMENT=	Easy-to-use password manager compatible with Password Safe

BUILD_DEPENDS=	qmake:${PORTSDIR}/devel/qmake

USE_GMAKE=	yes
USE_QT_VER=	3
MAKE_ENV=	QTDIR="${QT_PREFIX}" \
		QMAKESPEC="${LOCALBASE}/share/qt/mkspecs/freebsd-g++"

post-patch:
	@${REINPLACE_CMD} -Ee 's|(USER=)\$$\(USER\)|\1$$(shell whoami)|' \
		${WRKSRC}/${MAKEFILE}
.if defined(NOPORTDOCS)
	@${REINPLACE_CMD} -e '63,64d; 66,67d' ${WRKSRC}/${MAKEFILE}
.endif

.include <bsd.port.mk>