- Replace ${MASTER_SITE_FOO} with FOO.
- Merge MASTER_SITE_SUBDIR into MASTER_SITES when possible. (This means 99.9%
of the time.)
- Remove occurrences of MASTER_SITE_LOCAL when no subdirectory was present and
no hint of what it should be was present.
- Fix some logic.
- And generally, make things more simple and easy to understand.
While there, add magic values to the FESTIVAL, GENTOO, GIMP, GNUPG, QT and
SAMBA macros.
Also, replace some EXTRACT_SUFX occurences with USES=tar:*.
Checked by: make fetch-urlall-list
With hat: portmgr
Sponsored by: Absolight
32 lines
758 B
Makefile
32 lines
758 B
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= sqlclient
|
|
PORTVERSION= 1.7.0
|
|
PORTREVISION= 2
|
|
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>
|