freebsd-ports/security/gringotts/Makefile
Anders Nordby 66063fa958 Update WWW and MASTER_SITES URLs.
The main master site does not actually have this particular version of
gringotts, but it seems better to list the new URL as the old stopped
working long time ago. A new version of gringotts exists, and if anyone
is using and have an interest in this port they should look into it.
Keeping the secondary master site so that there is at least one place
to fetch the current distfile.
2008-08-10 22:51:23 +00:00

49 lines
1.3 KiB
Makefile

# New ports collection makefile for: gringotts
# Date created: 02 July 2002
# Whom: Anders Nordby <anders@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= gringotts
PORTVERSION= 1.2.8
PORTREVISION= 6
CATEGORIES= security
MASTER_SITES= BERLIOS \
ftp://ftp.nuug.no/pub/anders/distfiles/
MAINTAINER= ports@FreeBSD.org
COMMENT= GTK application to securely store sensitive data
LIB_DEPENDS= gringotts.2:${PORTSDIR}/security/libgringotts \
popt.0:${PORTSDIR}/devel/popt
USE_BZIP2= yes
GNU_CONFIGURE= yes
USE_GNOME= gtk20
WANT_GNOME= yes
CONFIGURE_ENV+= LIBS="-L${LOCALBASE}/lib" CPPFLAGS="-I${LOCALBASE}/include"
CONFIGURE_ARGS+= --disable-env-check
.include <bsd.port.pre.mk>
.if ${HAVE_GNOME:Mgnomehier}!=""
USE_GNOME+= gnomehier
PLIST_SUB+= GNOMEHIER=''
.else
PLIST_SUB+= GNOMEHIER='@comment '
.endif
post-patch:
${REINPLACE_CMD} -E -e "s|^(gringottsdocdir =).*|\1 ${DOCSDIR}|;s|md5sum|md5|g" ${WRKSRC}/Makefile.in
@${FIND} ${WRKSRC} -name Makefile.in | ${XARGS} ${REINPLACE_CMD} -e \
's|-D.*_DISABLE_DEPRECATED||g'
.if defined(NOPORTDOCS)
${REINPLACE_CMD} -E -e "s|^(install-data-am:.*)install-gringottsdocDATA|\1|" ${WRKSRC}/Makefile.in
.endif
.if ${HAVE_GNOME:Mgnomehier}==""
${REINPLACE_CMD} -E -e "s|^(install-data-am:.*)install-DsktpDATA|\1|" \
${WRKSRC}/Makefile.in
.endif
.include <bsd.port.post.mk>