1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-31 05:41:08 +00:00

- Update to version 7.0.3

PR:		60931
Submitted by:	Ports Fury
This commit is contained in:
Kirill Ponomarev 2004-01-05 16:47:31 +00:00
parent d861bef15c
commit 232855e935
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=97368
5 changed files with 23 additions and 42 deletions

View File

@ -6,26 +6,31 @@
#
PORTNAME= xabacus
PORTVERSION= 5.5.2
PORTVERSION= 7.0.3
CATEGORIES= games
MASTER_SITES= ${MASTER_SITE_XCONTRIB} \
MASTER_SITES= ${MASTER_SITE_SUNSITE} \
ftp://ftp.tux.org/pub/tux/bagleyd/xabacus/
MASTER_SITE_SUBDIR= applications
MASTER_SITE_SUBDIR= apps/math
MAINTAINER= ports@FreeBSD.org
COMMENT= Abacus for X Window System
WRKSRC= ${WRKDIR}/xabacus
USE_MOTIF= yes
USE_BZIP2= yes
USE_X_PREFIX= yes
USE_XPM= yes
USE_REINPLACE= yes
GNU_CONFIGURE= yes
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
MAN1= xabacus.1
MAN6= xabacus.6
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/xabacus ${PREFIX}/bin
${INSTALL_PROGRAM} ${WRKSRC}/xmabacus ${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/xabacus.man ${PREFIX}/man/man1/xabacus.1
${INSTALL_DATA} ${WRKSRC}/Abacus.ad ${X11BASE}/lib/X11/app-defaults/Abacus
.if defined(WITHOUT_MOTIF)
CONFIGURE_ARGS+= --without-motif
.else
USE_MOTIF= yes
.endif
post-patch:
@${REINPLACE_CMD} -e 's|/games/|/|g' ${WRKSRC}/Makefile.in
.include <bsd.port.mk>

View File

@ -1 +1 @@
MD5 (xabacus-5.5.2.tar.gz) = 2ec8d651b3a24c6919aac0ccf85bbe99
MD5 (xabacus-7.0.3.tar.bz2) = 5cee23da251f8fdbb2b9d078a76067b0

View File

@ -1,18 +0,0 @@
--- Abacus.c Sat Feb 15 02:57:06 1997
+++ /home/andy/tmp/wrk/Abacus.c Sun May 3 11:33:29 1998
@@ -184,6 +184,7 @@
#endif /* !LESS_THAN_AIX3_2 */
#endif /* defined(SYSV) || defined(SVR4) */
+#ifndef __FreeBSD__
static int
usleep(long unsigned int usec)
{
@@ -225,6 +226,7 @@
#endif
return 0;
}
+#endif
#endif
static void

View File

@ -1,11 +0,0 @@
--- configure.orig Wed May 6 12:03:35 1998
+++ configure Wed May 6 12:03:46 1998
@@ -2103,7 +2103,7 @@
INSTALL_XMWIDGET=""
UNINSTALL_XMWIDGET=""
else
- XMWIDGETLIBS="-lXm ${LIBS}"
+ XMWIDGETLIBS="\${MOTIFLIB} -lXext ${LIBS}"
XMWIDGET="xmabacus"
INSTALL_XMWIDGET="install_xmabacus"
UNINSTALL_XMWIDGET="uninstall_xmabacus"

View File

@ -1,3 +1,8 @@
bin/xabacus
bin/xmabacus
lib/X11/app-defaults/Abacus
%%DATADIR%%/Abacus.ps
%%DATADIR%%/Abacus1.les
%%DATADIR%%/Abacus2.les
%%DATADIR%%/Abacus3.les
%%DATADIR%%/Abacus4.les
@dirrm %%DATADIR%%