aboutsummaryrefslogtreecommitdiff
path: root/misc/libmetalink
diff options
context:
space:
mode:
authorMario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>2009-11-29 03:17:42 +0000
committerMario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>2009-11-29 03:17:42 +0000
commita5b2603bd525e0657853ecf8b6951ccbf52a5634 (patch)
treed0bed8f8f2940f7045b4772ac2995673df63b63c /misc/libmetalink
parent8202465de5a4e2d60f9cd92cdcd8012a7b136e53 (diff)
downloadports-a5b2603bd525e0657853ecf8b6951ccbf52a5634.tar.gz
ports-a5b2603bd525e0657853ecf8b6951ccbf52a5634.zip
Notes
Diffstat (limited to 'misc/libmetalink')
-rw-r--r--misc/libmetalink/Makefile10
-rw-r--r--misc/libmetalink/distinfo6
-rw-r--r--misc/libmetalink/pkg-descr2
-rw-r--r--misc/libmetalink/pkg-plist3
4 files changed, 14 insertions, 7 deletions
diff --git a/misc/libmetalink/Makefile b/misc/libmetalink/Makefile
index cc53b4c15fd2..a3c79826e904 100644
--- a/misc/libmetalink/Makefile
+++ b/misc/libmetalink/Makefile
@@ -6,16 +6,18 @@
#
PORTNAME= libmetalink
-PORTVERSION= 0.0.2
+PORTVERSION= 0.0.3
CATEGORIES= misc
-MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE}
+MASTER_SITES= http://launchpad.net/libmetalink/trunk/${PORTVERSION}/+download/
MAINTAINER= lioux@FreeBSD.org
COMMENT= Metalink library written in C language
LIB_DEPENDS= expat.6:${PORTSDIR}/textproc/expat2
+FETCH_ARGS=
USE_BZIP2= yes
+USE_GCC= 4.3+
GNU_CONFIGURE= yes
CONFIGURE_ARGS= \
--with-libexpat-prefix="${LOCALBASE}" \
@@ -37,6 +39,10 @@ post-patch:
@${REINPLACE_CMD} -E \
-e 's|^(install:).*|\1|' \
${WRKSRC}/doc/Makefile.in
+# fix pkgconfig install destination
+ @${REINPLACE_CMD} -E \
+ -e 's|^(pkgconfigdir[[:space:]]*=).*$$|\1${PREFIX}/libdata/pkgconfig|' \
+ ${WRKSRC}/lib/Makefile.in
post-install:
# examples
diff --git a/misc/libmetalink/distinfo b/misc/libmetalink/distinfo
index b67ff1178614..6d44bf9ce1b1 100644
--- a/misc/libmetalink/distinfo
+++ b/misc/libmetalink/distinfo
@@ -1,3 +1,3 @@
-MD5 (libmetalink-0.0.2.tar.bz2) = 1fa1f43041ad39e467ea3c96903e95af
-SHA256 (libmetalink-0.0.2.tar.bz2) = 9bf847be9332462606a50125ea5c178ef87a34da64db57f62535914662ed4520
-SIZE (libmetalink-0.0.2.tar.bz2) = 241615
+MD5 (libmetalink-0.0.3.tar.bz2) = de9dbf893e3b5853c5eedd699606e570
+SHA256 (libmetalink-0.0.3.tar.bz2) = 0bdc2cc0366b2b7bcf16eff31a5edc4d39b41430856afce04ad9dd9bbcc8c42c
+SIZE (libmetalink-0.0.3.tar.bz2) = 267023
diff --git a/misc/libmetalink/pkg-descr b/misc/libmetalink/pkg-descr
index b0421792844d..829fa2a05e63 100644
--- a/misc/libmetalink/pkg-descr
+++ b/misc/libmetalink/pkg-descr
@@ -4,6 +4,6 @@ libmetalink is a Metalink library written in C language. It intends
to allow programs written in C to add Metalink functionality such
as parsing Metalink XML files.
-WWW: http://code.google.com/p/libmetalink/
+WWW: https://launchpad.net/libmetalink/
-- lioux@FreeBSD.org
diff --git a/misc/libmetalink/pkg-plist b/misc/libmetalink/pkg-plist
index 233497314fd4..417f66e11a3d 100644
--- a/misc/libmetalink/pkg-plist
+++ b/misc/libmetalink/pkg-plist
@@ -4,5 +4,6 @@ include/metalink/metalink_types.h
lib/libmetalink.a
lib/libmetalink.la
lib/libmetalink.so
-lib/libmetalink.so.0
+lib/libmetalink.so.1
+libdata/pkgconfig/libmetalink.pc
@dirrm include/metalink