freebsd-ports/security/libgringotts/Makefile
Ade Lovett 54a0b86543 Mass-conversion to the USE_AUTOTOOLS New World Order. The code present
in bsd.autotools.mk essentially makes this a no-op given that all the
old variables set a USE_AUTOTOOLS_COMPAT variable, which is parsed in
exactly the same way as USE_AUTOTOOLS itself.

Moreover, USE_AUTOTOOLS has already been extensively tested by the GNOME
team -- all GNOME 2.12.x ports use it.

Preliminary documentation can be found at:
	http://people.FreeBSD.org/~ade/autotools.txt

which is in the process of being SGMLized before introduction into the
Porters Handbook.

Light blue touch-paper.  Run.
2005-11-15 06:52:12 +00:00

39 lines
1.2 KiB
Makefile

# New ports collection makefile for: libgringotts
# Date created: 23 November 2002
# Whom: Anders Nordby <anders@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= libgringotts
PORTVERSION= 1.2.1
CATEGORIES= security
MASTER_SITES= http://devel.pluto.linux.it/projects/libGringotts/current/ \
ftp://ftp.nuug.no/pub/anders/distfiles/
MAINTAINER= anders@FreeBSD.org
COMMENT= Library for encapsulating/safekeeping data in encrypted/compressed form
LIB_DEPENDS= mcrypt.8:${PORTSDIR}/security/libmcrypt \
mhash.2:${PORTSDIR}/security/mhash
USE_BZIP2= yes
USE_AUTOTOOLS= libtool:13
USE_REINPLACE= yes
CONFIGURE_ENV+= LIBS="-L${LOCALBASE}/lib" CPPFLAGS="-I${LOCALBASE}/include"
CONFIGURE_ARGS+= --with-pkg-config-files=${PREFIX}/libdata/pkgconfig
INSTALLS_SHLIB= yes
post-patch:
${REINPLACE_CMD} -e "s|md5sum|md5|g" ${WRKSRC}/Makefile.in
pre-install:
.if defined(NOPORTDOCS)
${REINPLACE_CMD} -E -e "s|^(SUBDIRS =.*) docs|\1|" ${WRKSRC}/Makefile
${REINPLACE_CMD} -E -e "s|^(install-data-am:.*)install-libgringottsdocDATA|\1|" ${WRKSRC}/Makefile
.else
${REINPLACE_CMD} -E "s|^(libgringottsdocdir =).*|\1 $$\(datadir\)/doc/libgringotts|" ${WRKSRC}/docs/Makefile ${WRKSRC}/Makefile
.endif
.include <bsd.port.mk>