1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-23 00:43:28 +00:00
freebsd-ports/textproc/libcsv/Makefile
2008-04-23 14:26:24 +00:00

38 lines
754 B
Makefile

# New ports collection makefile for: libcsv
# Date created: 23 Apr 2008
# Whom: Sergey Skvortsov <skv@protey.ru>
#
# $FreeBSD$
#
PORTNAME= libcsv
PORTVERSION= 2.0.1
CATEGORIES= textproc
MASTER_SITES= SF
MAINTAINER= skv@FreeBSD.org
COMMENT= Small, simple and fast CSV library
MAKE_ENV= PREFIX=${PREFIX}
USE_LDCONFIG= YES
SHLIB_MAJOR= 2
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 <bsd.port.mk>