Lines 1-11
Link Here
|
1 |
# $FreeBSD: head/databases/tcl-sqlite3/Makefile 343687 2014-02-10 22:01:26Z rm $ |
1 |
# $FreeBSD: head/databases/tcl-sqlite3/Makefile 343687 2014-02-10 22:01:26Z rm $ |
2 |
|
2 |
|
3 |
PORTNAME= sqlite3 |
3 |
PORTNAME= sqlite3 |
4 |
PORTVERSION= 3.8.3 |
4 |
PORTVERSION= 3.8.3.1 |
5 |
CATEGORIES= databases tcl |
5 |
CATEGORIES= databases tcl |
6 |
MASTER_SITES= http://www.sqlite.org/2014/ http://www2.sqlite.org/2014/ http://www3.sqlite.org/2014/ |
6 |
MASTER_SITES= http://www.sqlite.org/2014/ http://www2.sqlite.org/2014/ http://www3.sqlite.org/2014/ |
7 |
PKGNAMEPREFIX= tcl- |
7 |
PKGNAMEPREFIX= tcl- |
8 |
DISTNAME= sqlite-autoconf-3080300 |
8 |
DISTNAME= sqlite-autoconf-3080301 |
9 |
|
9 |
|
10 |
MAINTAINER= pavelivolkov@gmail.com |
10 |
MAINTAINER= pavelivolkov@gmail.com |
11 |
COMMENT= SQLite extension for Tcl using the Tcl Extension Architecture (TEA) |
11 |
COMMENT= SQLite extension for Tcl using the Tcl Extension Architecture (TEA) |
Lines 25-31
Link Here
|
25 |
USE_LDCONFIG= yes |
25 |
USE_LDCONFIG= yes |
26 |
GNU_CONFIGURE= yes |
26 |
GNU_CONFIGURE= yes |
27 |
|
27 |
|
28 |
CFLAGS+= `pkg-config --cflags --libs sqlite3` |
28 |
CFLAGS+= `pkg-config --cflags sqlite3` |
|
|
29 |
LDFLAGS+= `pkg-config --libs sqlite3` |
29 |
CONFIGURE_ARGS+= --with-tcl=${TCL_LIBDIR} --with-system-sqlite |
30 |
CONFIGURE_ARGS+= --with-tcl=${TCL_LIBDIR} --with-system-sqlite |
30 |
|
31 |
|
31 |
PLIST_DIRS+= lib/sqlite3 |
32 |
PLIST_DIRS+= lib/sqlite3 |
Lines 40-46
Link Here
|
40 |
.include <bsd.port.options.mk> |
41 |
.include <bsd.port.options.mk> |
41 |
|
42 |
|
42 |
post-patch: |
43 |
post-patch: |
43 |
@${REINPLACE_CMD} -E 's/^(.*\$$\(PACKAGE_NAME\))\$$\(PACKAGE_VERSION\).*$$/\1${PORTVERSION:C/.*([0-9]+).*/\1/}/' ${WRKSRC}/Makefile.in |
44 |
@${REINPLACE_CMD} -E 's/^(.*\$$\(PACKAGE_NAME\))\$$\(PACKAGE_VERSION\).*$$/\1${PORTVERSION:C/[^[:digit:]]*([[:digit:]]+).*/\1/}/' ${WRKSRC}/Makefile.in |
44 |
|
45 |
|
45 |
post-install: |
46 |
post-install: |
46 |
.if ${PORT_OPTIONS:MEXAMPLES} |
47 |
.if ${PORT_OPTIONS:MEXAMPLES} |