Lines 6-30
Link Here
|
6 |
# |
6 |
# |
7 |
|
7 |
|
8 |
PORTNAME= otcl |
8 |
PORTNAME= otcl |
9 |
PORTVERSION= 1.0a7 |
9 |
PORTVERSION= 1.0a8 |
10 |
CATEGORIES= lang tcl83 tk83 |
10 |
CATEGORIES= lang tcl83 tk83 |
11 |
MASTER_SITES= http://www.isi.edu/nsnam/dist/ |
11 |
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} |
|
|
12 |
MASTER_SITE_SUBDIR= otcl-tclcl |
12 |
|
13 |
|
13 |
MAINTAINER= ports@FreeBSD.org |
14 |
MAINTAINER= ports@FreeBSD.org |
14 |
|
15 |
|
15 |
LIB_DEPENDS= tk83.1:${PORTSDIR}/x11-toolkits/tk83 |
16 |
LIB_DEPENDS= tk83.1:${PORTSDIR}/x11-toolkits/tk83 |
16 |
|
17 |
|
17 |
INSTALLS_SHLIB= yes |
18 |
USE_AUTOCONF_VER= 213 |
18 |
GNU_CONFIGURE= yes |
|
|
19 |
CONFIGURE_ARGS= --with-tcl-ver=8.3 --with-tk-ver=8.3 |
19 |
CONFIGURE_ARGS= --with-tcl-ver=8.3 --with-tk-ver=8.3 |
20 |
USE_AUTOCONF= yes |
20 |
INSTALLS_SHLIB= yes |
|
|
21 |
|
21 |
PKGINSTALL= ${PORTSDIR}/lang/tcl83/pkg-install.tclsh |
22 |
PKGINSTALL= ${PORTSDIR}/lang/tcl83/pkg-install.tclsh |
22 |
PKGDEINSTALL= ${PORTSDIR}/lang/tcl83/pkg-deinstall.tclsh |
23 |
PKGDEINSTALL= ${PORTSDIR}/lang/tcl83/pkg-deinstall.tclsh |
23 |
|
24 |
|
24 |
post-install: |
25 |
post-install: |
25 |
${LN} -sf libotcl.so ${PREFIX}/lib/libotcl.so.1 |
26 |
${LN} -sf libotcl.so ${PREFIX}/lib/libotcl.so.1 |
26 |
strip ${PREFIX}/bin/otclsh |
27 |
${STRIP_CMD} ${PREFIX}/bin/otclsh |
27 |
strip ${PREFIX}/bin/owish |
28 |
${STRIP_CMD} ${PREFIX}/bin/owish |
28 |
.if exists(${PKGINSTALL}) |
29 |
.if exists(${PKGINSTALL}) |
29 |
${SETENV} PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} |
30 |
${SETENV} PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} |
30 |
.endif |
31 |
.endif |