1998-09-09 19:22:37 +00:00
|
|
|
# New ports collection makefile for: abacus
|
1999-01-10 18:46:03 +00:00
|
|
|
# Version required: 0.9.13
|
1998-09-09 19:22:37 +00:00
|
|
|
# Date created: 18 August 1998
|
|
|
|
# Whom: Andrey Zakhvatov
|
|
|
|
#
|
1999-08-25 05:28:01 +00:00
|
|
|
# $FreeBSD$
|
1998-09-09 19:22:37 +00:00
|
|
|
#
|
|
|
|
|
|
|
|
DISTNAME= abacus
|
1999-01-10 18:46:03 +00:00
|
|
|
PKGNAME= abacus-0.9.13
|
1998-09-09 19:22:37 +00:00
|
|
|
CATEGORIES= deskutils
|
1999-01-10 18:46:03 +00:00
|
|
|
MASTER_SITES= http://www-cad.eecs.berkeley.edu/HomePages/aml/abacus/ \
|
|
|
|
http://tahoe.inesc.pt/~aml/abacus/
|
1998-09-09 19:22:37 +00:00
|
|
|
EXTRACT_SUFX= .tgz
|
|
|
|
|
2000-02-08 09:29:51 +00:00
|
|
|
PATCH_SITES= http://people.FreeBSD.org/~steve/distfiles/
|
2000-01-03 03:38:10 +00:00
|
|
|
PATCHFILES= ${PKGNAME}.patch.gz
|
|
|
|
|
2000-03-29 07:16:59 +00:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
1998-09-09 19:22:37 +00:00
|
|
|
|
2000-01-03 03:38:10 +00:00
|
|
|
LIB_DEPENDS= tcl82.1:${PORTSDIR}/lang/tcl82 \
|
|
|
|
tk82.1:${PORTSDIR}/x11-toolkits/tk82
|
1998-09-09 19:22:37 +00:00
|
|
|
|
|
|
|
ALL_TARGET= dep tcl_interf/nxlc
|
|
|
|
USE_GMAKE= yes
|
|
|
|
USE_X_PREFIX= yes
|
1999-01-10 18:46:03 +00:00
|
|
|
WRKSRC= ${WRKDIR}/${PKGNAME}
|
1998-09-09 19:22:37 +00:00
|
|
|
|
1999-01-10 18:46:03 +00:00
|
|
|
MAN1= abacus.1
|
1998-09-09 19:22:37 +00:00
|
|
|
|
2000-01-03 03:38:10 +00:00
|
|
|
pre-patch:
|
|
|
|
@ (cd ${WRKSRC}; find -d . -name RCS -exec ${RM} -rf {} \;)
|
|
|
|
|
|
|
|
post-patch:
|
|
|
|
@ (cd ${WRKSRC}; ${RM} canvas; ${LN} -sf canvas-tcl8.2.2 canvas)
|
|
|
|
|
1998-09-09 19:22:37 +00:00
|
|
|
do-install:
|
|
|
|
@ ${INSTALL_SCRIPT} ${WRKSRC}/${DISTNAME} ${PREFIX}/bin
|
1999-01-10 18:46:03 +00:00
|
|
|
@ ${INSTALL_MAN} ${WRKSRC}/doc/${DISTNAME}.1 ${PREFIX}/man/man1
|
1998-09-09 19:22:37 +00:00
|
|
|
@ ${MKDIR} ${PREFIX}/share/abacus
|
|
|
|
@ ${MKDIR} ${PREFIX}/share/abacus/display
|
|
|
|
@ ${INSTALL_DATA} ${WRKSRC}/display/*.tcl ${PREFIX}/share/abacus/display
|
|
|
|
@ ${MKDIR} ${PREFIX}/share/abacus/graphics
|
|
|
|
@ ${INSTALL_DATA} ${WRKSRC}/graphics/*.tcl ${PREFIX}/share/abacus/graphics
|
|
|
|
@ ${MKDIR} ${PREFIX}/share/abacus/runlib
|
|
|
|
@ ${INSTALL_DATA} ${WRKSRC}/runlib/*.tcl ${PREFIX}/share/abacus/runlib
|
|
|
|
@ ${INSTALL_DATA} ${WRKSRC}/runlib/version ${PREFIX}/share/abacus/runlib
|
|
|
|
@ ${MKDIR} ${PREFIX}/share/abacus/runlib/bitmaps
|
|
|
|
@ ${INSTALL_DATA} ${WRKSRC}/runlib/bitmaps/* ${PREFIX}/share/abacus/runlib/bitmaps
|
|
|
|
@ ${MKDIR} ${PREFIX}/share/abacus/tcl_interf
|
|
|
|
@ ${INSTALL_PROGRAM} ${WRKSRC}/tcl_interf/nxlc ${PREFIX}/share/abacus/tcl_interf
|
|
|
|
@ ${MKDIR} ${PREFIX}/share/examples/abacus
|
|
|
|
@ ${INSTALL_DATA} ${WRKSRC}/regressive/* ${PREFIX}/share/examples/abacus
|
|
|
|
|
1999-01-10 18:46:03 +00:00
|
|
|
post-install:
|
1998-09-09 19:22:37 +00:00
|
|
|
.if !defined(NOPORTDOCS)
|
1999-01-10 18:46:03 +00:00
|
|
|
@ ${RM} -fr ${WRKSRC}/doc/RCS ${WRKSRC}/doc/help/RCS
|
1998-09-09 19:22:37 +00:00
|
|
|
@ ${MKDIR} ${PREFIX}/share/doc/abacus
|
1999-01-10 18:46:03 +00:00
|
|
|
@ cd ${WRKSRC}/doc; tar --exclude ${DISTNAME}.1 -cf - . | \
|
2000-01-03 03:38:10 +00:00
|
|
|
(cd ${PREFIX}/share/doc/abacus; tar --unlink -xf - )
|
1998-09-09 19:22:37 +00:00
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|