mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-28 05:29:48 +00:00
36 lines
726 B
Makefile
36 lines
726 B
Makefile
# New ports collection makefile for: libcsv
|
|
# Date created: 23 Apr 2008
|
|
# Whom: Sergey Skvortsov <skv@protey.ru>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= libcsv
|
|
PORTVERSION= 3.0.0
|
|
CATEGORIES= textproc
|
|
MASTER_SITES= SF
|
|
|
|
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 <bsd.port.mk>
|