mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-23 00:43:28 +00:00
0a7180c8ef
While here: USES=gmake, use new lib_depend syntax, stagify.
46 lines
1.2 KiB
Makefile
46 lines
1.2 KiB
Makefile
# Created by: ports@c0decafe.net
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= revelation
|
|
PORTVERSION= 0.4.14
|
|
PORTREVISION= 2
|
|
CATEGORIES= security gnome
|
|
MASTER_SITES= http://cdn.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:= ${BULID_DEPENDS} \
|
|
${PYTHON_PKGNAMEPREFIX}cracklib>0:${PORTSDIR}/security/py-cracklib
|
|
|
|
USE_BZIP2= yes
|
|
USES= desktop-file-utils gettext gmake pathfix pkgconfig \
|
|
shared-mime-info shebangfix
|
|
SHEBANG_FILES= src/revelation.py
|
|
USE_GNOME= gnomeprefix pygnome2
|
|
USE_PYTHON= yes
|
|
GNU_CONFIGURE= yes
|
|
INSTALLS_ICONS= yes
|
|
CONFIGURE_ARGS= --without-applet
|
|
|
|
GCONF_SCHEMAS= revelation.schemas
|
|
|
|
CPPFLAGS+= -I${LOCALBASE}/include
|
|
LDFLAGS+= -L${LOCALBASE}/lib
|
|
|
|
DICTPATH= ${LOCALBASE}/libdata/cracklib/pw_dict
|
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e \
|
|
'/FascistCheck/s|(password)|(password, "${DICTPATH}")|' \
|
|
${WRKSRC}/src/lib/util.py
|
|
|
|
.include <bsd.port.mk>
|