freebsd-ports/security/libgringotts/Makefile

39 lines
1.1 KiB
Makefile
Raw Normal View History

# New ports collection makefile for: libgringotts
# Date created: 23 November 2002
# Whom: Anders Nordby <anders@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= libgringotts
2003-05-14 04:56:22 +02:00
PORTVERSION= 1.2.1
CATEGORIES= security
MASTER_SITES= BERLIOS
MASTER_SITE_SUBDIR= gringotts
MAINTAINER= ports@FreeBSD.org
COMMENT= Library for encapsulating/safekeeping data in encrypted/compressed form
2003-01-03 20:24:34 +01:00
LIB_DEPENDS= mcrypt.8:${PORTSDIR}/security/libmcrypt \
mhash.2:${PORTSDIR}/security/mhash
2010-12-04 08:34:27 +01:00
USE_AUTOTOOLS= libtool
USE_BZIP2= yes
GNU_CONFIGURE= yes
CONFIGURE_ENV+= LIBS="-L${LOCALBASE}/lib" CPPFLAGS="-I${LOCALBASE}/include"
CONFIGURE_ARGS+= --with-pkg-config-files=${PREFIX}/libdata/pkgconfig
USE_LDCONFIG= yes
post-patch:
${REINPLACE_CMD} -e "s|md5sum|md5|g" ${WRKSRC}/Makefile.in
pre-install:
.if defined(NOPORTDOCS)
2003-02-19 00:10:26 +01:00
${REINPLACE_CMD} -E -e "s|^(SUBDIRS =.*) docs|\1|" ${WRKSRC}/Makefile
${REINPLACE_CMD} -E -e "s|^(install-data-am:.*)install-libgringottsdocDATA|\1|" ${WRKSRC}/Makefile
.else
2003-02-19 00:10:26 +01:00
${REINPLACE_CMD} -E "s|^(libgringottsdocdir =).*|\1 $$\(datadir\)/doc/libgringotts|" ${WRKSRC}/docs/Makefile ${WRKSRC}/Makefile
.endif
.include <bsd.port.mk>