Lines 4-24
Link Here
|
4 |
# |
4 |
# |
5 |
# $FreeBSD: ports/databases/postgresql-tcltk/Makefile,v 1.8 2003/07/13 15:40:57 alex Exp $ |
5 |
# $FreeBSD: ports/databases/postgresql-tcltk/Makefile,v 1.8 2003/07/13 15:40:57 alex Exp $ |
6 |
# |
6 |
# |
|
|
7 |
POSTGRESQL_PORT?= databases/postgresql7 |
7 |
|
8 |
|
8 |
PORTNAME= postgresql-tcltk |
9 |
PORTNAME= postgresql |
|
|
10 |
PORTVERSION!= ${MAKE} -C ${.CURDIR}/../../${POSTGRESQL_PORT} -V PORTVERSION |
11 |
PORTREVISION= 1 |
9 |
CATEGORIES= databases tcl83 tk83 |
12 |
CATEGORIES= databases tcl83 tk83 |
10 |
PORTREVISION= 0 |
13 |
MASTER_SITES= ${MASTER_SITE_PGSQL} |
|
|
14 |
MASTER_SITE_SUBDIR!= ${MAKE} -C ${.CURDIR}/../../${POSTGRESQL_PORT} -V MASTER_SITE_SUBDIR |
15 |
PKGNAMESUFFIX= -tcltk |
16 |
DISTFILES!= ${MAKE} -C ${.CURDIR}/../../${POSTGRESQL_PORT} -V DISTFILES |
17 |
DIST_SUBDIR= postgresql |
11 |
|
18 |
|
12 |
MAINTAINER= girgen@pingpong.net |
19 |
MAINTAINER= girgen@pingpong.net |
13 |
COMMENT= An TCL interface to the database PostgreSQL, including a tk GUI |
20 |
COMMENT= An TCL interface to the database PostgreSQL, including a tk GUI |
14 |
|
21 |
|
15 |
POSTGRESQL_PORT?= databases/postgresql7 |
|
|
16 |
POSTGRESQL_SUBPORT=YES |
17 |
.include <${.CURDIR}/../../${POSTGRESQL_PORT}/Makefile> |
18 |
|
19 |
LIB_DEPENDS= tcl${TCLVERSION:S/.//}:${PORTSDIR}/lang/tcl${TCLVERSION:S/.//} \ |
22 |
LIB_DEPENDS= tcl${TCLVERSION:S/.//}:${PORTSDIR}/lang/tcl${TCLVERSION:S/.//} \ |
20 |
pq:${PORTSDIR}/${POSTGRESQL_PORT} |
23 |
pq:${PORTSDIR}/${POSTGRESQL_PORT} |
21 |
|
24 |
|
|
|
25 |
MD5_FILE= ${.CURDIR}/../../${POSTGRESQL_PORT}/distinfo |
26 |
|
22 |
# you can use "make TCLVERSION=8.4" or similar for your favourite tcl version |
27 |
# you can use "make TCLVERSION=8.4" or similar for your favourite tcl version |
23 |
TCLVERSION?= 8.3 |
28 |
TCLVERSION?= 8.3 |
24 |
PLIST_SUB+= TCLVERSION=${TCLVERSION} |
29 |
PLIST_SUB+= TCLVERSION=${TCLVERSION} |
Lines 29-41
Link Here
|
29 |
TCL_INCDIR= ${LOCALBASE}/include/tcl${TCLVERSION} |
34 |
TCL_INCDIR= ${LOCALBASE}/include/tcl${TCLVERSION} |
30 |
TCLCONFIG= ${LOCALBASE}/lib/tcl${TCLVERSION} |
35 |
TCLCONFIG= ${LOCALBASE}/lib/tcl${TCLVERSION} |
31 |
MAKE_ENV+= TCL_INCDIR=${TCL_INCDIR} |
36 |
MAKE_ENV+= TCL_INCDIR=${TCL_INCDIR} |
32 |
CONFIGURE_ENV+= LIBS="-lm -L${LOCALBASE}/lib -ltcl${TCLVERSION:S/.//}" \ |
|
|
33 |
CFLAGS=-DPGTCL_USE_TCLOBJ |
34 |
|
35 |
.if defined(WITHOUT_X11) |
36 |
WITHOUT_TK= yes |
37 |
.endif |
38 |
|
39 |
CONFIGURE_ENV+= LIBS="-lm -L${LOCALBASE}/lib -ltcl${TCLVERSION:S/.//}" \ |
37 |
CONFIGURE_ENV+= LIBS="-lm -L${LOCALBASE}/lib -ltcl${TCLVERSION:S/.//}" \ |
40 |
CFLAGS=-DPGTCL_USE_TCLOBJ |
38 |
CFLAGS=-DPGTCL_USE_TCLOBJ |
41 |
|
39 |
|