# New ports collection makefile for: libcsv # Date created: 23 Apr 2008 # Whom: Sergey Skvortsov # # $FreeBSD$ # PORTNAME= libcsv PORTVERSION= 3.0.1 CATEGORIES= textproc MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION} MAINTAINER= skv@FreeBSD.org COMMENT= Small, simple and fast CSV library USE_LDCONFIG= YES SHLIB_MAJOR= 3 PLIST_SUB= SHLIB_MAJOR="${SHLIB_MAJOR}" MAN3= csv.3 MANCOMPRESSED= maybe .if defined(NOPROFILE) || defined(NO_PROFILE) PLIST_SUB+= PROFILE="@comment " .else PLIST_SUB+= PROFILE="" .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 .include