freebsd-ports/databases/sqlclient/Makefile
David Chisnall adfb7266aa Fix the pkg-plist for performance.
Update sqlclient to the latest version.
2013-10-08 13:29:27 +00:00

36 lines
883 B
Makefile

# $FreeBSD$
PORTNAME= sqlclient
PORTVERSION= 1.7.0
CATEGORIES= databases gnustep
MASTER_SITES= ${MASTER_SITE_GNUSTEP}
MASTER_SITE_SUBDIR= libs
DISTNAME= SQLClient-${PORTVERSION}
MAINTAINER= theraven@FreeBSD.org
COMMENT= Lightweight database abstraction layer
LICENSE= LGPL21
USE_GNUSTEP= yes
USE_GNUSTEP_BASE= yes
USE_GNUSTEP_CONFIGURE= yes
USE_GNUSTEP_BUILD= yes
USE_GNUSTEP_INSTALL= yes
USE_GNUSTEP_LOCAL_LIBS+= Performance:${PERFORMANCE_PORT}
USE_GNUSTEP_LDCONFIG= ${GNUSTEP_LOCAL_LIBRARIES}
USE_PGSQL=yes
USE_MYSQL=yes
USE_SQLITE=yes
CFLAGS+= ${PTHREAD_CFLAGS}
LDFLAGS+= ${PTHREAD_LIBS}
MAKE_ENV+= GNUSTEP_INSTALLATION_DIR=${GNUSTEP_LOCAL_ROOT}
DEFAULT_LIBVERSION= 1.5
DEFAULT_LIBVERSION2= 1.5.0
PLIST_SUB+= LIBVERSION2=${DEFAULT_LIBVERSION2}
PLIST_SUB+= MAJORLIBVERSION2=${DEFAULT_LIBVERSION2:C/([0-9]).*/\1/1}
PERFORMANCE_PORT?= devel/performance
.include <bsd.port.mk>