pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/graphics/flickrnet Provide a useful pkg-config file. P...
details: https://anonhg.NetBSD.org/pkgsrc/rev/dcf2ed4362f9
branches: trunk
changeset: 652089:dcf2ed4362f9
user: kefren <kefren%pkgsrc.org@localhost>
date: Sat May 23 09:52:59 2015 +0000
description:
Provide a useful pkg-config file. PKGREVISION++
diffstat:
graphics/flickrnet/Makefile | 9 ++++++++-
graphics/flickrnet/distinfo | 4 ++--
graphics/flickrnet/patches/patch-flickrnet.pc | 14 +++++++-------
3 files changed, 17 insertions(+), 10 deletions(-)
diffs (65 lines):
diff -r 572662d60a53 -r dcf2ed4362f9 graphics/flickrnet/Makefile
--- a/graphics/flickrnet/Makefile Sat May 23 09:43:39 2015 +0000
+++ b/graphics/flickrnet/Makefile Sat May 23 09:52:59 2015 +0000
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.1 2015/05/23 09:01:20 kefren Exp $
+# $NetBSD: Makefile,v 1.2 2015/05/23 09:52:59 kefren Exp $
DISTNAME= 3.16
+PKGREVISION= 1
PKGNAME= flickrnet-${DISTNAME}
CATEGORIES= graphics
MASTER_SITES= ${MASTER_SITE_GITHUB:=samjudson/flickr-net/archive/}
@@ -11,6 +12,12 @@
WRKSRC= ${WRKDIR}/flickr-net-${DISTNAME}
USE_TOOLS+= pkg-config
+SUBST_CLASSES+= fix-prefix
+SUBST_STAGE.fix-prefix= pre-configure
+SUBST_MESSAGE.fix-prefix= Fix pkg-config prefix
+SUBST_FILES.fix-prefix= flickrnet.pc
+SUBST_SED.fix-prefix= -e 's,\@prefix\@,${PREFIX},'
+
do-build:
cd ${WRKSRC} && \
xbuild FlickrNet/FlickrNet.csproj
diff -r 572662d60a53 -r dcf2ed4362f9 graphics/flickrnet/distinfo
--- a/graphics/flickrnet/distinfo Sat May 23 09:43:39 2015 +0000
+++ b/graphics/flickrnet/distinfo Sat May 23 09:52:59 2015 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.1 2015/05/23 09:01:20 kefren Exp $
+$NetBSD: distinfo,v 1.2 2015/05/23 09:52:59 kefren Exp $
SHA1 (3.16.tar.gz) = 51b4acbf4b29d76461bd95cdd173eece898321d1
RMD160 (3.16.tar.gz) = 8fadc513e8a63705743a4a2308b7c5a07a113818
Size (3.16.tar.gz) = 749444 bytes
-SHA1 (patch-flickrnet.pc) = 2dbea4d4ef4bcce6b4e75d21550eb0b23110bcba
+SHA1 (patch-flickrnet.pc) = bb019f00f08f7b05f43a8d2bf37b9e19d0fcbcaa
diff -r 572662d60a53 -r dcf2ed4362f9 graphics/flickrnet/patches/patch-flickrnet.pc
--- a/graphics/flickrnet/patches/patch-flickrnet.pc Sat May 23 09:43:39 2015 +0000
+++ b/graphics/flickrnet/patches/patch-flickrnet.pc Sat May 23 09:52:59 2015 +0000
@@ -1,17 +1,17 @@
-$NetBSD: patch-flickrnet.pc,v 1.1 2015/05/23 09:01:20 kefren Exp $
+$NetBSD: patch-flickrnet.pc,v 1.2 2015/05/23 09:52:59 kefren Exp $
pkg-config hint
--- /dev/null 2015-05-23 11:28:00.000000000 +0300
+++ flickrnet.pc 2015-05-23 11:27:39.000000000 +0300
@@ -0,0 +1,10 @@
-+prefix=/dev/null
-+exec_prefix=${prefix}
-+libdir=${exec_prefix}/lib
-+includedir=${prefix}/include
++prefix=@prefix@
++exec_prefix=@prefix@
++libdir=@prefix@/lib
++includedir=@prefix@/include
+
+Name: flickrnet
+Description: .NET Flickr access library
+Version: 3.16
-+Libs: -L${prefix}/lib/flickrnet
-+Cflags: -I${includedir}
++Libs: -lib:@prefix@/lib/flickrnet -r:FlickrNet.dll
++Cflags:
Home |
Main Index |
Thread Index |
Old Index