svn commit: r356271 - head/security/libgringotts
Dmitry Marakasov
amdmi3 at FreeBSD.org
Tue Jun 3 01:06:19 UTC 2014
Author: amdmi3
Date: Tue Jun 3 01:06:18 2014
New Revision: 356271
URL: http://svnweb.freebsd.org/changeset/ports/356271
QAT: https://qat.redports.org/buildarchive/r356271/
Log:
- Convert USE_BZIP2 to USES
- Use new LIB_DEPENDS syntax
- Switch to USES=libtool, drop .la files
- Strip libraries
- Fix docs installation
Modified:
head/security/libgringotts/Makefile
head/security/libgringotts/pkg-plist
Modified: head/security/libgringotts/Makefile
==============================================================================
--- head/security/libgringotts/Makefile Tue Jun 3 00:51:21 2014 (r356270)
+++ head/security/libgringotts/Makefile Tue Jun 3 01:06:18 2014 (r356271)
@@ -3,35 +3,37 @@
PORTNAME= libgringotts
PORTVERSION= 1.2.1
+PORTREVISION= 1
CATEGORIES= security
-MASTER_SITES= BERLIOS
-MASTER_SITE_SUBDIR= gringotts
+MASTER_SITES= BERLIOS/gringotts
MAINTAINER= ports at FreeBSD.org
COMMENT= Library for encapsulating/safekeeping data in encrypted/compressed form
-LIB_DEPENDS= mcrypt.8:${PORTSDIR}/security/libmcrypt \
- mhash.2:${PORTSDIR}/security/mhash
+LIB_DEPENDS= libmcrypt.so:${PORTSDIR}/security/libmcrypt \
+ libmhash.so:${PORTSDIR}/security/mhash
-OPTIONS_DEFINE= DOCS
-
-USE_AUTOTOOLS= libtool
-USE_BZIP2= yes
+USES= tar:bzip2 libtool
GNU_CONFIGURE= yes
CONFIGURE_ENV+= LIBS="-L${LOCALBASE}/lib"
CPPFLAGS+= -I${LOCALBASE}/include
CONFIGURE_ARGS+= --with-pkg-config-files=${PREFIX}/libdata/pkgconfig
+INSTALL_TARGET= install-strip
USE_LDCONFIG= yes
+OPTIONS_DEFINE= DOCS
+
+.include <bsd.port.options.mk>
+
post-patch:
- ${REINPLACE_CMD} -e "s|md5sum|md5|g" ${WRKSRC}/Makefile.in
+ @${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
+.if ${PORT_OPTIONS:MDOCS}
+ @${REINPLACE_CMD} -E "s|^(libgringottsdocdir =).*|\1 $$\(datadir\)/doc/libgringotts|" ${WRKSRC}/docs/Makefile ${WRKSRC}/Makefile
.else
- ${REINPLACE_CMD} -E "s|^(libgringottsdocdir =).*|\1 $$\(datadir\)/doc/libgringotts|" ${WRKSRC}/docs/Makefile ${WRKSRC}/Makefile
+ @${REINPLACE_CMD} -E -e "s|^(SUBDIRS =.*) docs|\1|" ${WRKSRC}/Makefile
+ @${REINPLACE_CMD} -E -e "s|^(install-data-am:.*)install-libgringottsdocDATA|\1|" ${WRKSRC}/Makefile
.endif
.include <bsd.port.mk>
Modified: head/security/libgringotts/pkg-plist
==============================================================================
--- head/security/libgringotts/pkg-plist Tue Jun 3 00:51:21 2014 (r356270)
+++ head/security/libgringotts/pkg-plist Tue Jun 3 01:06:18 2014 (r356271)
@@ -1,8 +1,8 @@
include/libgringotts.h
-lib/libgringotts.so.2
-lib/libgringotts.so
-lib/libgringotts.la
lib/libgringotts.a
+lib/libgringotts.so
+lib/libgringotts.so.2
+lib/libgringotts.so.2.0.7
libdata/pkgconfig/libgringotts.pc
%%PORTDOCS%%share/doc/libgringotts/AUTHORS
%%PORTDOCS%%share/doc/libgringotts/COPYING
More information about the svn-ports-all
mailing list