aboutsummaryrefslogtreecommitdiffstats
path: root/games/xabacus/Makefile
diff options
context:
space:
mode:
authorkrion <krion@FreeBSD.org>2004-01-06 00:47:31 +0800
committerkrion <krion@FreeBSD.org>2004-01-06 00:47:31 +0800
commitc055a6a46095b9e888f8b14b3fe9602477e051d9 (patch)
tree1f2d6f83ff13c2d4e9cb805c250c420e0857ddb3 /games/xabacus/Makefile
parenta1cd9e64350f5d77a2f6c41ed7ca22132c9695d7 (diff)
downloadfreebsd-ports-gnome-c055a6a46095b9e888f8b14b3fe9602477e051d9.tar.gz
freebsd-ports-gnome-c055a6a46095b9e888f8b14b3fe9602477e051d9.tar.zst
freebsd-ports-gnome-c055a6a46095b9e888f8b14b3fe9602477e051d9.zip
- Update to version 7.0.3
PR: 60931 Submitted by: Ports Fury
Diffstat (limited to 'games/xabacus/Makefile')
-rw-r--r--games/xabacus/Makefile27
1 files changed, 16 insertions, 11 deletions
diff --git a/games/xabacus/Makefile b/games/xabacus/Makefile
index ce698370e464..630b7ba13ba2 100644
--- a/games/xabacus/Makefile
+++ b/games/xabacus/Makefile
@@ -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}
+
+MAN6= xabacus.6
-MAN1= xabacus.1
+.if defined(WITHOUT_MOTIF)
+CONFIGURE_ARGS+= --without-motif
+.else
+USE_MOTIF= yes
+.endif
-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
+post-patch:
+ @${REINPLACE_CMD} -e 's|/games/|/|g' ${WRKSRC}/Makefile.in
.include <bsd.port.mk>