1998-09-09 19:22:37 +00:00
|
|
|
# New ports collection makefile for: abacus
|
|
|
|
# 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
|
|
|
#
|
|
|
|
|
2000-04-08 22:04:57 +00:00
|
|
|
PORTNAME= abacus
|
|
|
|
PORTVERSION= 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
|
|
|
|
2000-07-07 18:44:49 +00:00
|
|
|
PATCH_SITES= ${MASTER_SITE_LOCAL}
|
|
|
|
PATCH_SITE_SUBDIR= steve
|
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
|
|
|
|
|
|
|
USE_X_PREFIX= yes
|
2000-08-11 04:02:02 +00:00
|
|
|
USE_GMAKE= yes
|
|
|
|
MAKE_ENV= CXX="${CXX}" CXXFLAGS="${CXXFLAGS}"
|
|
|
|
ALL_TARGET= dep tcl_interf/nxlc
|
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-08-11 04:02:02 +00:00
|
|
|
post-extract:
|
|
|
|
@(cd ${WRKSRC}; find -d . -name RCS -exec ${RM} -rf {} \;)
|
|
|
|
@(cd ${WRKSRC}; ${RM} canvas; ${LN} -sf canvas-tcl8.2.2 canvas)
|
2000-01-03 03:38:10 +00:00
|
|
|
|
|
|
|
post-patch:
|
2000-08-11 04:02:02 +00:00
|
|
|
@${PERL} -pi -e "s|%%PREFIX%%|${PREFIX}|g" ${WRKSRC}/abacus
|
2000-01-03 03:38:10 +00:00
|
|
|
|
1998-09-09 19:22:37 +00:00
|
|
|
do-install:
|
2000-08-11 04:02:02 +00:00
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/abacus ${PREFIX}/bin
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/doc/abacus.1 ${PREFIX}/man/man1
|
|
|
|
@${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/abacus/doc
|
|
|
|
${TAR} -C ${WRKSRC} --exclude abacus.1 -cf - doc | \
|
|
|
|
${TAR} -C ${PREFIX}/share/abacus --unlink -xf -
|
|
|
|
@${MKDIR} ${PREFIX}/share/examples/abacus
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/regressive/* ${PREFIX}/share/examples/abacus
|
1998-09-09 19:22:37 +00:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|