2013-09-20 22:55:24 +00:00
|
|
|
# Created by: Anders Nordby <anders@FreeBSD.org>
|
2002-11-23 23:11:37 +00:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= libgringotts
|
2003-05-14 02:56:22 +00:00
|
|
|
PORTVERSION= 1.2.1
|
2014-06-03 01:06:18 +00:00
|
|
|
PORTREVISION= 1
|
2002-11-23 23:11:37 +00:00
|
|
|
CATEGORIES= security
|
2014-06-03 01:06:18 +00:00
|
|
|
MASTER_SITES= BERLIOS/gringotts
|
2002-11-23 23:11:37 +00:00
|
|
|
|
2007-06-03 20:23:45 +00:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-03-07 06:14:21 +00:00
|
|
|
COMMENT= Library for encapsulating/safekeeping data in encrypted/compressed form
|
2002-11-23 23:11:37 +00:00
|
|
|
|
2014-06-03 01:06:18 +00:00
|
|
|
LIB_DEPENDS= libmcrypt.so:${PORTSDIR}/security/libmcrypt \
|
|
|
|
libmhash.so:${PORTSDIR}/security/mhash
|
2002-11-23 23:11:37 +00:00
|
|
|
|
2014-06-03 01:06:18 +00:00
|
|
|
USES= tar:bzip2 libtool
|
2006-02-23 10:40:44 +00:00
|
|
|
GNU_CONFIGURE= yes
|
2011-09-23 22:26:39 +00:00
|
|
|
CPPFLAGS+= -I${LOCALBASE}/include
|
2014-06-11 14:49:59 +00:00
|
|
|
LIBS+= -L${LOCALBASE}/lib
|
2002-11-23 23:11:37 +00:00
|
|
|
CONFIGURE_ARGS+= --with-pkg-config-files=${PREFIX}/libdata/pkgconfig
|
2014-06-03 01:06:18 +00:00
|
|
|
INSTALL_TARGET= install-strip
|
- 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 17:56:05 +00:00
|
|
|
USE_LDCONFIG= yes
|
2002-11-23 23:11:37 +00:00
|
|
|
|
2014-06-03 01:06:18 +00:00
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
|
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
|
2002-11-23 23:11:37 +00:00
|
|
|
post-patch:
|
2014-06-03 01:06:18 +00:00
|
|
|
@${REINPLACE_CMD} -e "s|md5sum|md5|g" ${WRKSRC}/Makefile.in
|
2002-11-23 23:11:37 +00:00
|
|
|
|
|
|
|
pre-install:
|
2014-06-03 01:06:18 +00:00
|
|
|
.if ${PORT_OPTIONS:MDOCS}
|
|
|
|
@${REINPLACE_CMD} -E "s|^(libgringottsdocdir =).*|\1 $$\(datadir\)/doc/libgringotts|" ${WRKSRC}/docs/Makefile ${WRKSRC}/Makefile
|
2002-11-23 23:11:37 +00:00
|
|
|
.else
|
2014-06-03 01:06:18 +00: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-23 23:11:37 +00:00
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|