freebsd-ports/security/gringotts/Makefile

49 lines
1.3 KiB
Makefile
Raw Normal View History

# New ports collection makefile for: gringotts
# Date created: 02 July 2002
# Whom: Anders Nordby <anders@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= gringotts
2003-02-19 00:14:16 +01:00
PORTVERSION= 1.2.3
CATEGORIES= security
MASTER_SITES= http://devel.pluto.linux.it/projects/Gringotts/current/ \
ftp://ftp.nuug.no/pub/anders/distfiles/
MAINTAINER= anders@FreeBSD.org
2002-11-24 00:20:38 +01:00
LIB_DEPENDS= gringotts.2:${PORTSDIR}/security/libgringotts \
2003-02-07 20:21:11 +01:00
gtk-x11-2.0.200:${PORTSDIR}/x11-toolkits/gtk20 \
popt.0:${PORTSDIR}/devel/popt
USE_BZIP2= yes
2003-01-04 19:58:19 +01:00
USE_X_PREFIX= yes
2002-11-24 00:20:38 +01:00
GNU_CONFIGURE= yes
2002-10-11 00:30:03 +02:00
USE_GNOMENG= yes
2002-11-24 00:20:38 +01:00
USE_REINPLACE= yes
2002-10-11 00:30:03 +02:00
WANT_GNOME= yes
CONFIGURE_ENV+= LIBS="-L${LOCALBASE}/lib" CPPFLAGS="-I${LOCALBASE}/include"
CONFIGURE_ARGS+= --disable-env-check
.include <bsd.port.pre.mk>
2002-10-11 00:30:03 +02:00
.if ${HAVE_GNOME:Mgnomehier}!=""
USE_GNOME+= gnomehier
2003-01-04 19:58:19 +01:00
PLIST_SUB+= GNOMEHIER=''
.else
PLIST_SUB+= GNOMEHIER='@comment '
2002-11-24 00:20:38 +01:00
.endif
post-patch:
2003-02-19 00:14:16 +01:00
${REINPLACE_CMD} -E -e "s|^(gringottsdocdir =).*|\1 $$\(datadir\)/doc/gringotts|;s|md5sum|md5|g" ${WRKSRC}/Makefile.in
2003-01-04 19:58:19 +01:00
.if defined(NOPORTDOCS)
${REINPLACE_CMD} -E -e "s|^(install-data-am:.*)install-gringottsdocDATA|\1|" ${WRKSRC}/Makefile.in
.endif
2002-11-24 00:20:38 +01:00
.if ${HAVE_GNOME:Mgnomehier}==""
2003-01-04 19:58:19 +01:00
${REINPLACE_CMD} -E -e "s|^(install-data-am:.*)install-DsktpDATA|\1|" \
2002-11-24 00:20:38 +01:00
${WRKSRC}/Makefile.in
.endif
.include <bsd.port.post.mk>