diff options
author | Martin Wilke <miwi@FreeBSD.org> | 2013-04-26 13:28:32 +0000 |
---|---|---|
committer | Martin Wilke <miwi@FreeBSD.org> | 2013-04-26 13:28:32 +0000 |
commit | adf0fa2deb7b3d3d00ed40e92aebe9f2715b567d (patch) | |
tree | 59705915bb144c1aa190630730dddd4f37a6f283 /textproc | |
parent | - Update to 1.5.0 (diff) |
- Update to 3.0.3
PR: 178153
Submitted by: ports fury
Notes
Notes:
svn path=/head/; revision=316608
Diffstat (limited to 'textproc')
-rw-r--r-- | textproc/libcsv/Makefile | 32 | ||||
-rw-r--r-- | textproc/libcsv/distinfo | 4 |
2 files changed, 22 insertions, 14 deletions
diff --git a/textproc/libcsv/Makefile b/textproc/libcsv/Makefile index 5882faa1f3fb..09d1bfb426e3 100644 --- a/textproc/libcsv/Makefile +++ b/textproc/libcsv/Makefile @@ -2,30 +2,38 @@ # $FreeBSD$ PORTNAME= libcsv -PORTVERSION= 3.0.1 +PORTVERSION= 3.0.3 CATEGORIES= textproc MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION} MAINTAINER= ports@FreeBSD.org COMMENT= Small, simple and fast CSV library -USE_LDCONFIG= YES -SHLIB_MAJOR= 3 +LICENSE= LGPL21 + +OPTIONS_DEFINE= PROFILE + +MAKEFILE= Makefile.lib +USE_LDCONFIG= yes + PLIST_SUB= SHLIB_MAJOR="${SHLIB_MAJOR}" -MAN3= csv.3 +SHLIB_MAJOR= 3 + MANCOMPRESSED= maybe +MAN3= csv.3 -.if defined(NOPROFILE) || defined(NO_PROFILE) -PLIST_SUB+= PROFILE="@comment " -.else +.include <bsd.port.options.mk> + +.if ${PORT_OPTIONS:MPROFILE} PLIST_SUB+= PROFILE="" +.else +MAKE_ENV+= NO_PROFILE=true +PLIST_SUB+= PROFILE="@comment " .endif -post-patch: - ${MV} ${WRKSRC}/Makefile ${WRKSRC}/Makefile.prev - @${SED} -e "s=%%SHLIB_MAJOR%%=${SHLIB_MAJOR}=g" \ - ${FILESDIR}/Makefile > ${WRKSRC}/Makefile - ${GUNZIP_CMD} ${WRKSRC}/${MAN3}.gz +do-configure: + @${SED} -e 's|%%SHLIB_MAJOR%%|${SHLIB_MAJOR}|' \ + < ${FILESDIR}/Makefile > ${WRKSRC}/${MAKEFILE} .include <bsd.port.mk> diff --git a/textproc/libcsv/distinfo b/textproc/libcsv/distinfo index 8ccc06ab07dd..0b40f66f916c 100644 --- a/textproc/libcsv/distinfo +++ b/textproc/libcsv/distinfo @@ -1,2 +1,2 @@ -SHA256 (libcsv-3.0.1.tar.gz) = 4955a619d9497ef28c378f2da642fafd27e7df9f9a148cc1f38eccf70c6ef586 -SIZE (libcsv-3.0.1.tar.gz) = 60654 +SHA256 (libcsv-3.0.3.tar.gz) = d9c0431cb803ceb9896ce74f683e6e5a0954e96ae1d9e4028d6e0f967bebd7e4 +SIZE (libcsv-3.0.3.tar.gz) = 331491 |