1998-09-09 15:22:37 -04:00
|
|
|
# New ports collection makefile for: abacus
|
|
|
|
# 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
|
|
|
#
|
|
|
|
|
2000-04-08 18:04:57 -04:00
|
|
|
PORTNAME= abacus
|
|
|
|
PORTVERSION= 0.9.13
|
2004-02-04 00:21:48 -05:00
|
|
|
PORTREVISION= 2
|
1998-09-09 15:22:37 -04:00
|
|
|
CATEGORIES= deskutils
|
2006-05-09 07:07:36 -04:00
|
|
|
MASTER_SITES= http://tahoe.inesc.pt/~aml/abacus/
|
1998-09-09 15:22:37 -04:00
|
|
|
|
2000-07-07 14:44:49 -04:00
|
|
|
PATCH_SITES= ${MASTER_SITE_LOCAL}
|
|
|
|
PATCH_SITE_SUBDIR= steve
|
2003-03-04 14:49:33 -05:00
|
|
|
PATCHFILES= ${PORTNAME}-${PORTVERSION}.patch.gz
|
2000-01-02 22:38:10 -05:00
|
|
|
|
2003-11-17 14:33:49 -05:00
|
|
|
MAINTAINER= dinoex@FreeBSD.org
|
2003-02-20 12:07:10 -05:00
|
|
|
COMMENT= Spread sheet for X Window System
|
1998-09-09 15:22:37 -04:00
|
|
|
|
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
|
|
|
|
|
|
|
USE_X_PREFIX= yes
|
2000-08-11 00:02:02 -04:00
|
|
|
USE_GMAKE= yes
|
2005-10-24 08:55:27 -04:00
|
|
|
MAKE_ENV= CXX="${CXX}" CXXFLAGS="${CXXFLAGS} -Wno-deprecated" LFLAGS="${LDFLAGS}"
|
|
|
|
LDFLAGS+= -L$(X11BASE)/lib -L$(LOCALBASE)/lib
|
2000-08-11 00:02:02 -04:00
|
|
|
ALL_TARGET= dep tcl_interf/nxlc
|
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-08-11 00:02:02 -04:00
|
|
|
post-extract:
|
2002-09-29 04:07:47 -04:00
|
|
|
@(cd ${WRKSRC}; ${FIND} -d . -name RCS -exec ${RM} -rf {} \;)
|
2000-08-11 00:02:02 -04:00
|
|
|
@(cd ${WRKSRC}; ${RM} canvas; ${LN} -sf canvas-tcl8.2.2 canvas)
|
2000-01-02 22:38:10 -05:00
|
|
|
|
|
|
|
post-patch:
|
2002-06-20 15:04:20 -04:00
|
|
|
@${REINPLACE_CMD} -e "s|%%PREFIX%%|${PREFIX}|g" ${WRKSRC}/abacus
|
2000-01-02 22:38:10 -05:00
|
|
|
|
1998-09-09 15:22:37 -04:00
|
|
|
do-install:
|
2000-08-11 00:02:02 -04: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 15:22:37 -04:00
|
|
|
|
2003-08-11 15:23:38 -04:00
|
|
|
.include <bsd.port.mk>
|