David Chisnall b6546ca2ca Update GNUstep ports to their latest versions.
Also fix a few bits of generic infrastructure along the way.

Approved by:	bapt (mentor)
Differential Revision:	https://reviews.freebsd.org/D2961
2015-07-01 13:50:28 +00:00

31 lines
742 B
Makefile

# $FreeBSD$
PORTNAME= sqlclient
PORTVERSION= 1.8.1
CATEGORIES= databases gnustep
MASTER_SITES= GNUSTEP/libs
DISTNAME= SQLClient-${PORTVERSION}
MAINTAINER= theraven@FreeBSD.org
COMMENT= Lightweight database abstraction layer
LICENSE= LGPL21
LIB_DEPENDS= libPerformance.so:${PORTSDIR}/devel/performance \
libsqlite3.so:${PORTSDIR}/databases/sqlite3
USES= gnustep pgsql
USE_GNUSTEP= base build
GNU_CONFIGURE= yes
USE_LDCONFIG= ${GNUSTEP_LOCAL_LIBRARIES}
USE_MYSQL=yes
LDFLAGS+= -pthread
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}
.include <bsd.port.mk>