1998-09-09 15:22:37 -04:00
|
|
|
# New ports collection makefile for: abacus
|
1999-01-10 13:46:03 -05:00
|
|
|
# Version required: 0.9.13
|
1998-09-09 15:22:37 -04:00
|
|
|
# Date created: 18 August 1998
|
|
|
|
# Whom: Andrey Zakhvatov
|
|
|
|
#
|
1999-08-25 01:28:01 -04:00
|
|
|
# $FreeBSD$
|
1998-09-09 15:22:37 -04:00
|
|
|
#
|
|
|
|
|
|
|
|
DISTNAME= abacus
|
1999-01-10 13:46:03 -05:00
|
|
|
PKGNAME= abacus-0.9.13
|
1998-09-09 15:22:37 -04:00
|
|
|
CATEGORIES= deskutils
|
1999-01-10 13:46:03 -05:00
|
|
|
MASTER_SITES= http://www-cad.eecs.berkeley.edu/HomePages/aml/abacus/ \
|
|
|
|
http://tahoe.inesc.pt/~aml/abacus/
|
1998-09-09 15:22:37 -04:00
|
|
|
EXTRACT_SUFX= .tgz
|
|
|
|
|
2000-02-08 04:29:51 -05:00
|
|
|
PATCH_SITES= http://people.FreeBSD.org/~steve/distfiles/
|
2000-01-02 22:38:10 -05:00
|
|
|
PATCHFILES= ${PKGNAME}.patch.gz
|
|
|
|
|
1998-09-09 15:22:37 -04:00
|
|
|
MAINTAINER= andy@icc.surw.chel.su
|
|
|
|
|
2000-01-02 22:38:10 -05:00
|
|
|
LIB_DEPENDS= tcl82.1:${PORTSDIR}/lang/tcl82 \
|
|
|
|
tk82.1:${PORTSDIR}/x11-toolkits/tk82
|
1998-09-09 15:22:37 -04:00
|
|
|
|
|
|
|
ALL_TARGET= dep tcl_interf/nxlc
|
|
|
|
USE_GMAKE= yes
|
|
|
|
USE_X_PREFIX= yes
|
1999-01-10 13:46:03 -05:00
|
|
|
WRKSRC= ${WRKDIR}/${PKGNAME}
|
1998-09-09 15:22:37 -04:00
|
|
|
|
1999-01-10 13:46:03 -05:00
|
|
|
MAN1= abacus.1
|
1998-09-09 15:22:37 -04:00
|
|
|
|
2000-01-02 22:38:10 -05: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 15:22:37 -04:00
|
|
|
do-install:
|
|
|
|
@ ${INSTALL_SCRIPT} ${WRKSRC}/${DISTNAME} ${PREFIX}/bin
|
1999-01-10 13:46:03 -05:00
|
|
|
@ ${INSTALL_MAN} ${WRKSRC}/doc/${DISTNAME}.1 ${PREFIX}/man/man1
|
1998-09-09 15:22:37 -04: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 13:46:03 -05:00
|
|
|
post-install:
|
1998-09-09 15:22:37 -04:00
|
|
|
.if !defined(NOPORTDOCS)
|
1999-01-10 13:46:03 -05:00
|
|
|
@ ${RM} -fr ${WRKSRC}/doc/RCS ${WRKSRC}/doc/help/RCS
|
1998-09-09 15:22:37 -04:00
|
|
|
@ ${MKDIR} ${PREFIX}/share/doc/abacus
|
1999-01-10 13:46:03 -05:00
|
|
|
@ cd ${WRKSRC}/doc; tar --exclude ${DISTNAME}.1 -cf - . | \
|
2000-01-02 22:38:10 -05:00
|
|
|
(cd ${PREFIX}/share/doc/abacus; tar --unlink -xf - )
|
1998-09-09 15:22:37 -04:00
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|