freebsd-ports/security/revelation/Makefile
Edwin Groothuis 090059a210 Bump portrevision due to upgrade of devel/gettext.
The affected ports are the ones with gettext as a run-dependency
according to ports/INDEX-7 (5007 of them) and the ones with USE_GETTEXT
in Makefile (29 of them).

PR:             ports/124340
Submitted by:   edwin@
Approved by:    portmgr (pav)
2008-06-06 14:17:21 +00:00

46 lines
1.3 KiB
Makefile

# New ports collection makefile for: Revelation
# Date created: 2004-08-10
# Whom: ports@c0decafe.net
#
# $FreeBSD$
#
PORTNAME= revelation
PORTVERSION= 0.4.11
PORTREVISION= 4
CATEGORIES= security gnome
MASTER_SITES= ftp://oss.codepoet.no/revelation/
MAINTAINER= ports@c0decafe.net
COMMENT= Password manager for the GNOME 2 desktop
LIB_DEPENDS= crack:${PORTSDIR}/security/cracklib
BUILD_DEPENDS= ${PYTHON_SITELIBDIR}/Crypto/test.py:${PORTSDIR}/security/py-pycrypto
RUN_DEPENDS= ${PYTHON_SITELIBDIR}/Crypto/test.py:${PORTSDIR}/security/py-pycrypto
CONFIGURE_ENV= LDFLAGS="-L${LOCALBASE}/lib" CPPFLAGS="-I${LOCALBASE}/include"
USE_BZIP2= yes
GNU_CONFIGURE= yes
USE_GMAKE= yes
USE_GNOME= pygnome2 pygnomeextras gnomeprefix gnomehack desktopfileutils \
pygnomedesktop
USE_PYTHON= yes
GCONF_SCHEMAS= revelation.schemas revelation-applet.schemas
INSTALLS_ICONS= yes
USE_GETTEXT= yes
.if defined(PACKAGE_BUILDING)
BUILD_DEPENDS+= Xvfb:${X_VFBSERVER_PORT} \
${LOCALBASE}/lib/X11/fonts/misc/8x13O.pcf.gz:${X_FONTS_MISC_PORT}
.endif
post-patch:
@${REINPLACE_CMD} -e 's|\(rvl_py_version=\)".*$$|\1""|' \
${WRKSRC}/configure
@${REINPLACE_CMD} -e 's|\(-Wl\)|$$(LDFLAGS) \1|' \
${WRKSRC}/src/wrap/crack/Makefile.in
@${REINPLACE_CMD} -e 's|#include <crack.h>||' \
${WRKSRC}/src/wrap/crack/crack.c.in
.include <bsd.port.mk>