1997-11-11 02:53:24 -05:00
|
|
|
# New ports collection makefile for: TkStep
|
1997-12-05 08:45:37 -05:00
|
|
|
# Version required: 8.0p2
|
1997-11-11 02:53:24 -05:00
|
|
|
# Date created: 06 November 1997
|
|
|
|
# Whom: Thomas Gellekum <tg@FreeBSD.ORG>
|
|
|
|
#
|
1999-05-05 06:50:10 -04:00
|
|
|
# $Id: Makefile,v 1.19 1998/12/01 03:06:49 asami Exp $
|
1997-11-11 02:53:24 -05:00
|
|
|
#
|
|
|
|
|
1999-05-05 06:50:10 -04:00
|
|
|
DISTNAME= tk8.0.4
|
|
|
|
PKGNAME= tkstep-8.0.4
|
1998-08-07 18:56:48 -04:00
|
|
|
CATEGORIES= x11-toolkits tk80
|
1998-07-03 19:07:17 -04:00
|
|
|
MASTER_SITES= ftp://ftp.scriptics.com/pub/tcl/tcl8_0/
|
1997-11-11 02:53:24 -05:00
|
|
|
|
1999-05-05 06:50:10 -04:00
|
|
|
PATCH_SITES= ftp://touchwood.ee.uts.edu.au/pub/TkSTEP/
|
|
|
|
PATCHFILES= tk8.0.4-to-tkstep8.0.4-2.patch.tar.gz
|
1997-11-11 02:53:24 -05:00
|
|
|
|
|
|
|
MAINTAINER= tg@FreeBSD.ORG
|
|
|
|
|
1998-09-19 01:46:07 -04:00
|
|
|
LIB_DEPENDS= tcl80.1:${PORTSDIR}/lang/tcl80 \
|
1998-09-16 20:33:02 -04:00
|
|
|
Xpm.4:${PORTSDIR}/graphics/xpm \
|
1998-09-15 07:46:15 -04:00
|
|
|
jpeg.9:${PORTSDIR}/graphics/jpeg \
|
1998-11-25 04:01:25 -05:00
|
|
|
tiff.4:${PORTSDIR}/graphics/tiff34
|
1998-11-30 22:06:49 -05:00
|
|
|
FILE_DEPENDS= ${PORTSDIR}/x11-toolkits/tk80
|
1997-11-11 02:53:24 -05:00
|
|
|
|
|
|
|
FETCH_BEFORE_ARGS= -b
|
1999-05-05 06:50:10 -04:00
|
|
|
PATCH_DIST_ARGS= -p1 -d ${WRKDIR}/tk8.0.4 -E --quiet
|
|
|
|
WRKSRC= ${WRKDIR}/tk8.0.4/unix
|
1997-11-11 02:53:24 -05:00
|
|
|
GNU_CONFIGURE= yes
|
1997-12-23 20:21:47 -05:00
|
|
|
CONFIGURE_ARGS= --enable-shared --enable-xpm --enable-step --enable-dnd \
|
1998-11-25 00:06:28 -05:00
|
|
|
--enable-tiff --with-optimize="${CFLAGS} -I${PREFIX}/include"
|
1997-11-11 02:53:24 -05:00
|
|
|
CONFIGURE_ENV= PORTSDIR=${PORTSDIR}
|
|
|
|
|
|
|
|
post-install:
|
1999-05-05 06:50:10 -04:00
|
|
|
@${RM} ${PREFIX}/lib/tkstep8.0/demos/*.orig
|
1997-11-11 02:53:24 -05:00
|
|
|
strip ${PREFIX}/bin/wishstep8.0
|
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
@${MKDIR} ${PREFIX}/share/doc/tkstep
|
1999-05-05 06:50:10 -04:00
|
|
|
${INSTALL_DATA} ${WRKDIR}/tk8.0.4/README.TkStep \
|
1997-11-11 02:53:24 -05:00
|
|
|
${PREFIX}/share/doc/tkstep
|
|
|
|
.endif
|
1999-05-05 06:50:10 -04:00
|
|
|
${LN} -sf ${PREFIX}/lib/libtkstep80.so.1 ${PREFIX}/lib/libtkstep80.so
|
1997-11-11 02:53:24 -05:00
|
|
|
${LDCONFIG} -m ${PREFIX}/lib
|
1998-08-07 19:56:56 -04:00
|
|
|
.if exists(${PORTSDIR}/x11-toolkits/tk80/pkg/INSTALL.wish)
|
|
|
|
${SH} ${PORTSDIR}/x11-toolkits/tk80/pkg/INSTALL.wish
|
1998-07-27 17:36:08 -04:00
|
|
|
.endif
|
1997-11-11 02:53:24 -05:00
|
|
|
|
|
|
|
test:
|
|
|
|
cd ${WRKSRC}; make test
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|
1998-07-27 17:36:08 -04:00
|
|
|
|
1998-08-07 19:56:56 -04:00
|
|
|
PKG_ARGS+= -i ${PORTSDIR}/x11-toolkits/tk80/pkg/INSTALL.wish
|