1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-28 10:08:24 +00:00
freebsd-ports/games/xabacus/Makefile
Martin Wilke 45bfcb37c5 - Update to 7.2.6
PR:		ports/107629
Submitted by:   KATO Tsuguru <tkato432@yahoo.com>
2007-01-09 22:26:08 +00:00

49 lines
963 B
Makefile

# New ports collection makefile for: xabacus
# Date created: 3 May 1998
# Whom: Andrey Zakhvatov
#
# $FreeBSD$
#
PORTNAME= xabacus
PORTVERSION= 7.2.6
CATEGORIES= games
MASTER_SITES= ${MASTER_SITE_SUNSITE} \
http://www.tux.org/pub/tux/bagleyd/xabacus/
MASTER_SITE_SUBDIR= apps/math
MAINTAINER= ports@FreeBSD.org
COMMENT= Abacus for X Window System
USE_BZIP2= yes
USE_X_PREFIX= yes
WANT_GNOME= yes
USE_GNOME= gnometarget
USE_XPM= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --mandir=${MANPREFIX}/man \
--without-nas
MAN6= xabacus.6
.include <bsd.port.pre.mk>
.if defined(WITHOUT_MOTIF)
CONFIGURE_ARGS+= --without-motif
.else
USE_MOTIF= yes
.endif
.if ${HAVE_GNOME:Mesound}!=""
USE_GNOME+= esound
CONFIGURE_ARGS+= --without-rplay --with-esound
.else
LIB_DEPENDS+= rplay.1:${PORTSDIR}/audio/rplay
CONFIGURE_ARGS+= --with-rplay --without-esound
.endif
post-patch:
@${REINPLACE_CMD} -e 's|/games/|/|g' ${WRKSRC}/Makefile.in
.include <bsd.port.post.mk>