freebsd-ports/textproc/libcsv/Makefile
Matthew Seaman 00adc5c753 New maintainer: bob@eager.cx
Add new 'EXAMPLES' option
Use OPTIONS helpers
Spelling fixes for man pages
Add a csv_get_blk_size() function

PR:		215720
Submitted by:	bob@eager.cx
2017-01-03 12:27:55 +00:00

37 lines
821 B
Makefile

# Created by: Sergey Skvortsov <skv@protey.ru>
# $FreeBSD$
PORTNAME= libcsv
PORTVERSION= 3.0.3
PORTREVISION= 1
CATEGORIES= textproc
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}
MAINTAINER= bob@eager.cx
COMMENT= Small, simple and fast CSV library
LICENSE= LGPL21
OPTIONS_DEFINE= EXAMPLES PROFILE
MAKEFILE= Makefile.lib
USES= uidfix
USE_LDCONFIG= yes
PLIST_SUB= SHLIB_MAJOR="${SHLIB_MAJOR}"
SHLIB_MAJOR= 3
PROFILE_PLIST_SUB= PROFILE=""
PROFILE_MAKE_ENV_OFF= NO_PROFILE=true
PROFILE_PLIST_SUB_OFF= PROFILE="@comment "
do-configure:
@${SED} -e 's|%%SHLIB_MAJOR%%|${SHLIB_MAJOR}|' \
< ${FILESDIR}/Makefile > ${WRKSRC}/${MAKEFILE}
do-install-EXAMPLES-on:
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
(cd ${WRKSRC}/examples && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR})
.include <bsd.port.mk>