diff options
author | Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org> | 2008-08-11 12:03:56 +0000 |
---|---|---|
committer | Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org> | 2008-08-11 12:03:56 +0000 |
commit | 19979b2814223bc13c31f96ce330ceb5989c4ed3 (patch) | |
tree | 322db4c9b989466f47c8c77d1aef5e4e4e9d3814 /misc/libmetalink | |
parent | 2be5e5ec030a53d76dace1c712903dd1c1d1f5be (diff) | |
download | ports-19979b2814223bc13c31f96ce330ceb5989c4ed3.tar.gz ports-19979b2814223bc13c31f96ce330ceb5989c4ed3.zip |
Notes
Diffstat (limited to 'misc/libmetalink')
-rw-r--r-- | misc/libmetalink/Makefile | 49 | ||||
-rw-r--r-- | misc/libmetalink/distinfo | 3 | ||||
-rw-r--r-- | misc/libmetalink/pkg-descr | 9 | ||||
-rw-r--r-- | misc/libmetalink/pkg-plist | 8 |
4 files changed, 69 insertions, 0 deletions
diff --git a/misc/libmetalink/Makefile b/misc/libmetalink/Makefile new file mode 100644 index 000000000000..efe5495898d1 --- /dev/null +++ b/misc/libmetalink/Makefile @@ -0,0 +1,49 @@ +# New ports collection makefile for: libmetalink +# Date created: Mon 11 Aug 2008 11:28:33 UTC +# Whom: Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org> +# +# $FreeBSD$ +# + +PORTNAME= libmetalink +PORTVERSION= 0.0.2 +CATEGORIES= misc +MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE} + +MAINTAINER= lioux@FreeBSD.org +COMMENT= Metalink library written in C language + +LIB_DEPENDS= expat.6:${PORTSDIR}/textproc/expat2 + +USE_BZIP2= yes +GNU_CONFIGURE= yes +CONFIGURE_ARGS= \ + --with-libexpat-prefix="${LOCALBASE}" \ + --with-libxml2="no" +USE_LDCONFIG= yes + +# Examples to install +EXAMPLES_FILES= \ + doc/sample.c \ + doc/ubuntu-7_10-server-i386_iso.metalink + +.ifndef(NOPORTEXAMPLES) +PORTEXAMPLES= * +.endif + +post-patch: +# do not automagically install neither documents nor examples + @${REINPLACE_CMD} -E \ + -e 's|^(install:).*|\1|' \ + ${WRKSRC}/doc/Makefile.in + +post-install: +# examples +.ifndef(NOPORTEXAMPLES) + @${MKDIR} ${EXAMPLESDIR} +.for file in ${EXAMPLES_FILES} + @${INSTALL_DATA} ${WRKSRC}/${file} ${EXAMPLESDIR} +.endfor +.endif + +.include <bsd.port.mk> diff --git a/misc/libmetalink/distinfo b/misc/libmetalink/distinfo new file mode 100644 index 000000000000..b67ff1178614 --- /dev/null +++ b/misc/libmetalink/distinfo @@ -0,0 +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 diff --git a/misc/libmetalink/pkg-descr b/misc/libmetalink/pkg-descr new file mode 100644 index 000000000000..b0421792844d --- /dev/null +++ b/misc/libmetalink/pkg-descr @@ -0,0 +1,9 @@ +[ excerpt from developer's web site with modifications ] + +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/ + +-- lioux@FreeBSD.org diff --git a/misc/libmetalink/pkg-plist b/misc/libmetalink/pkg-plist new file mode 100644 index 000000000000..233497314fd4 --- /dev/null +++ b/misc/libmetalink/pkg-plist @@ -0,0 +1,8 @@ +include/metalink/metalink_error.h +include/metalink/metalink_parser.h +include/metalink/metalink_types.h +lib/libmetalink.a +lib/libmetalink.la +lib/libmetalink.so +lib/libmetalink.so.0 +@dirrm include/metalink |