freebsd-ports/security/revelation/Makefile
Antoine Brodin ba5921dac6 Fix a typo
Bump portrevision as RUN_DEPENDS have changed
2014-09-10 22:01:04 +00:00

41 lines
1.2 KiB
Makefile

# Created by: ports@c0decafe.net
# $FreeBSD$
PORTNAME= revelation
PORTVERSION= 0.4.14
PORTREVISION= 4
CATEGORIES= security gnome
MASTER_SITES= https://bitbucket.org/erikg/revelation/downloads/
MAINTAINER= ports@FreeBSD.org
COMMENT= Password manager for the GNOME 2 desktop
LICENSE= GPLv2
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}dbus>0:${PORTSDIR}/devel/py-dbus \
${PYTHON_PKGNAMEPREFIX}pycrypto>0:${PORTSDIR}/security/py-pycrypto
LIB_DEPENDS= libcrack.so:${PORTSDIR}/security/cracklib
RUN_DEPENDS:= ${BUILD_DEPENDS} \
${PYTHON_PKGNAMEPREFIX}cracklib>0:${PORTSDIR}/security/py-cracklib
USES= desktop-file-utils gettext gmake pathfix pkgconfig python \
shared-mime-info shebangfix tar:bzip2
SHEBANG_FILES= src/revelation.py
USE_GNOME= gnomeprefix pygnome2
GNU_CONFIGURE= yes
INSTALLS_ICONS= yes
CONFIGURE_ARGS= --without-applet --disable-desktop-update --disable-mime-update
GCONF_SCHEMAS= revelation.schemas
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
DICTPATH= ${LOCALBASE}/libdata/cracklib/pw_dict
post-patch:
@${REINPLACE_CMD} -e \
'/FascistCheck/s|(password)|(password, "${DICTPATH}")|' \
${WRKSRC}/src/lib/util.py
.include <bsd.port.mk>