Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 23 May 2016 22:42:03 +0000 (UTC)
From:      Matthias Andree <mandree@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r415750 - head/devel/libublio
Message-ID:  <201605232242.u4NMg3ES018536@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: mandree
Date: Mon May 23 22:42:03 2016
New Revision: 415750
URL: https://svnweb.freebsd.org/changeset/ports/415750

Log:
  Add pkgconfig file. Add LICENSE clause.
  
  PR:		199797
  Submitted by:	resver@gmail.com

Modified:
  head/devel/libublio/Makefile
  head/devel/libublio/pkg-plist

Modified: head/devel/libublio/Makefile
==============================================================================
--- head/devel/libublio/Makefile	Mon May 23 22:07:24 2016	(r415749)
+++ head/devel/libublio/Makefile	Mon May 23 22:42:03 2016	(r415750)
@@ -3,12 +3,15 @@
 
 PORTNAME=	libublio
 PORTVERSION=	20070103
+PORTREVISION=	1
 CATEGORIES=	devel
 MASTER_SITES=	LOCAL/mandree
 
 MAINTAINER=	mandree@FreeBSD.org
 COMMENT=	User space caching library
 
+LICENSE=	BSD2CLAUSE
+
 USE_LDCONFIG=	yes
 
 .if defined(NO_PROFILE) || defined(NOPROFILE) || defined(WITHOUT_PROFILE)
@@ -22,6 +25,9 @@ USES=		uidfix
 SRCCONF=	/dev/null
 MAKE_ENV+=	SRCCONF=${SRCCONF}
 
+SUB_FILES=	libublio.pc
+SUB_LIST=	PREFIX=${PREFIX} PORTVERSION=${PORTVERSION}
+
 OPTIONS_DEFINE=	DOCS
 
 post-extract:
@@ -37,5 +43,6 @@ pre-install:
 post-install:
 	@${MKDIR} ${STAGEDIR}${DOCSDIR}
 	${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
+	${INSTALL_DATA} ${WRKDIR}/libublio.pc ${STAGEDIR}${PREFIX}/libdata/pkgconfig/
 
 .include <bsd.port.mk>

Modified: head/devel/libublio/pkg-plist
==============================================================================
--- head/devel/libublio/pkg-plist	Mon May 23 22:07:24 2016	(r415749)
+++ head/devel/libublio/pkg-plist	Mon May 23 22:42:03 2016	(r415750)
@@ -3,4 +3,5 @@ lib/libublio.a
 %%PROFLIB%%lib/libublio_p.a
 lib/libublio.so
 lib/libublio.so.1
+libdata/pkgconfig/libublio.pc
 %%PORTDOCS%%%%DOCSDIR%%/README



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201605232242.u4NMg3ES018536>