2002-11-24 00:11:37 +01:00
|
|
|
# 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
|
2002-11-24 00:11:37 +01:00
|
|
|
CATEGORIES= security
|
2008-08-11 00:45:02 +02:00
|
|
|
MASTER_SITES= BERLIOS
|
|
|
|
MASTER_SITE_SUBDIR= gringotts
|
2002-11-24 00:11:37 +01:00
|
|
|
|
2007-06-03 22:23:45 +02:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-03-07 07:14:21 +01:00
|
|
|
COMMENT= Library for encapsulating/safekeeping data in encrypted/compressed form
|
2002-11-24 00:11:37 +01:00
|
|
|
|
2003-01-03 20:24:34 +01:00
|
|
|
LIB_DEPENDS= mcrypt.8:${PORTSDIR}/security/libmcrypt \
|
2002-11-24 00:11:37 +01:00
|
|
|
mhash.2:${PORTSDIR}/security/mhash
|
|
|
|
|
2010-12-04 08:34:27 +01:00
|
|
|
USE_AUTOTOOLS= libtool
|
2002-11-24 00:11:37 +01:00
|
|
|
USE_BZIP2= yes
|
2006-02-23 11:40:44 +01:00
|
|
|
GNU_CONFIGURE= yes
|
2011-09-24 00:26:39 +02:00
|
|
|
CONFIGURE_ENV+= LIBS="-L${LOCALBASE}/lib"
|
|
|
|
CPPFLAGS+= -I${LOCALBASE}/include
|
2002-11-24 00:11:37 +01:00
|
|
|
CONFIGURE_ARGS+= --with-pkg-config-files=${PREFIX}/libdata/pkgconfig
|
- Remove unneeded dependency from gtk12/gtk20 [1]
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG
- Remove X11BASE support in favor of LOCALBASE or PREFIX
- Use USE_LDCONFIG instead of INSTALLS_SHLIB
- Remove unneeded USE_GCC 3.4+
Thanks to all Helpers:
Dmitry Marakasov, Chess Griffin, beech@, dinoex, rafan, gahr,
ehaupt, nox, itetcu, flz, pav
PR: 116263
Tested on: pointyhat
Approved by: portmgr (pav)
2008-04-19 19:56:05 +02:00
|
|
|
USE_LDCONFIG= yes
|
2002-11-24 00:11:37 +01:00
|
|
|
|
|
|
|
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
|
2002-11-24 00:11:37 +01:00
|
|
|
.else
|
2003-02-19 00:10:26 +01:00
|
|
|
${REINPLACE_CMD} -E "s|^(libgringottsdocdir =).*|\1 $$\(datadir\)/doc/libgringotts|" ${WRKSRC}/docs/Makefile ${WRKSRC}/Makefile
|
2002-11-24 00:11:37 +01:00
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|