2012-09-26 22:31:52 +02:00
|
|
|
# Created by: Andrey Zakhvatov
|
1999-08-25 08:06:33 +02:00
|
|
|
# $FreeBSD$
|
1998-05-05 03:25:26 +02:00
|
|
|
|
2000-04-14 14:28:40 +02:00
|
|
|
PORTNAME= xabacus
|
2013-02-08 03:04:17 +01:00
|
|
|
PORTVERSION= 7.7.1
|
2000-03-30 05:42:47 +02:00
|
|
|
CATEGORIES= games
|
2007-03-06 21:04:09 +01:00
|
|
|
MASTER_SITES= http://www.tux.org/~bagleyd/abacus/ \
|
2010-11-10 17:15:41 +01:00
|
|
|
http://ftp.tux.org/pub/tux/bagleyd/xabacus/
|
1998-05-05 03:25:26 +02:00
|
|
|
|
2011-03-13 07:08:53 +01:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-02-20 18:32:26 +01:00
|
|
|
COMMENT= Abacus for X Window System
|
1998-05-05 03:25:26 +02:00
|
|
|
|
2012-09-26 22:31:52 +02:00
|
|
|
LICENSE= BSD
|
|
|
|
|
|
|
|
OPTIONS_DEFINE= MOTIF ESOUND
|
|
|
|
OPTIONS_DEFAULT= MOTIF
|
|
|
|
|
2004-01-05 17:47:31 +01:00
|
|
|
USE_BZIP2= yes
|
2007-12-15 00:15:10 +01:00
|
|
|
USE_XORG= xpm
|
2000-03-30 05:42:47 +02:00
|
|
|
GNU_CONFIGURE= yes
|
2007-07-23 11:36:51 +02:00
|
|
|
CONFIGURE_ARGS= --without-nas
|
2004-01-05 17:47:31 +01:00
|
|
|
|
2013-11-12 21:50:59 +01:00
|
|
|
MOTIF_USES= motif
|
|
|
|
MOTIF_CONFIGURE_WITH= motif
|
1998-05-05 03:25:26 +02:00
|
|
|
|
2012-09-26 22:31:52 +02:00
|
|
|
.include <bsd.port.options.mk>
|
2005-10-10 12:29:13 +02:00
|
|
|
|
2012-09-26 22:31:52 +02:00
|
|
|
.if ${PORT_OPTIONS:MESOUND}
|
2005-10-10 12:29:13 +02:00
|
|
|
USE_GNOME+= esound
|
|
|
|
CONFIGURE_ARGS+= --without-rplay --with-esound
|
|
|
|
.else
|
2013-11-12 21:50:59 +01:00
|
|
|
LIB_DEPENDS+= librplay.so:${PORTSDIR}/audio/rplay
|
2005-10-10 12:29:13 +02:00
|
|
|
CONFIGURE_ARGS+= --with-rplay --without-esound
|
|
|
|
.endif
|
|
|
|
|
2004-01-05 17:47:31 +01:00
|
|
|
post-patch:
|
|
|
|
@${REINPLACE_CMD} -e 's|/games/|/|g' ${WRKSRC}/Makefile.in
|
1998-05-05 03:25:26 +02:00
|
|
|
|
2013-11-12 21:50:59 +01:00
|
|
|
post-configure:
|
|
|
|
@${REINPLACE_CMD} -e '/^XWIDGETLDFLAGS/d' ${WRKSRC}/Makefile
|
|
|
|
|
2012-09-26 22:31:52 +02:00
|
|
|
.include <bsd.port.mk>
|