freebsd-ports/games/xabacus/Makefile
2011-05-02 12:44:53 +00:00

45 lines
892 B
Makefile

# New ports collection makefile for: xabacus
# Date created: 3 May 1998
# Whom: Andrey Zakhvatov
#
# $FreeBSD$
#
PORTNAME= xabacus
PORTVERSION= 7.6.8
PORTREVISION= 1
CATEGORIES= games
MASTER_SITES= http://www.tux.org/~bagleyd/abacus/ \
http://ftp.tux.org/pub/tux/bagleyd/xabacus/
MAINTAINER= ports@FreeBSD.org
COMMENT= Abacus for X Window System
USE_BZIP2= yes
USE_XORG= xpm
WANT_GNOME= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --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>