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
|
2014-04-26 04:30:39 +02:00
|
|
|
PORTVERSION= 8.0.0
|
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
|
|
|
|
2014-12-02 05:16:18 +01:00
|
|
|
LICENSE= MIT
|
|
|
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
2012-09-26 22:31:52 +02:00
|
|
|
|
2014-04-26 04:30:39 +02:00
|
|
|
USES= tar:bzip2
|
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
|
2014-10-06 23:30:01 +02:00
|
|
|
CONFIGURE_ENV= ac_cv_x_app_defaults=${PREFIX}/lib/X11/app-defaults
|
2014-04-26 04:30:39 +02:00
|
|
|
INSTALLS_ICONS= yes
|
2004-01-05 17:47:31 +01:00
|
|
|
|
2014-04-26 04:30:39 +02:00
|
|
|
DESKTOP_ENTRIES="XAbacus" "" "abacus" "${PORTNAME}" "" ""
|
1998-05-05 03:25:26 +02:00
|
|
|
|
2014-04-26 04:30:39 +02:00
|
|
|
OPTIONS_DEFINE= ESOUND MOTIF
|
|
|
|
OPTIONS_DEFAULT= MOTIF
|
2005-10-10 12:29:13 +02:00
|
|
|
|
2014-04-26 04:30:39 +02:00
|
|
|
ESOUND_LIB_DEPENDS_OFF= librplay.so:${PORTSDIR}/audio/rplay
|
|
|
|
ESOUND_USE= gnome=esound
|
|
|
|
ESOUND_CONFIGURE_ON= --without-rplay --with-esound
|
|
|
|
ESOUND_CONFIGURE_OFF= --with-rplay --without-esound
|
|
|
|
ESOUND_LDFLAGS= -L${LOCALBASE}/lib -laudiofile
|
|
|
|
MOTIF_USES= motif
|
|
|
|
MOTIF_CONFIGURE_WITH= motif
|
2005-10-10 12:29:13 +02:00
|
|
|
|
2004-01-05 17:47:31 +01:00
|
|
|
post-patch:
|
2014-04-26 04:30:39 +02:00
|
|
|
@${REINPLACE_CMD} -e \
|
|
|
|
's|\($$(datadir)\)/games|\1| ; \
|
|
|
|
s|@XWIDGETLDFLAGS@|@LDFLAGS@| ; \
|
|
|
|
s|\([[:blank:]]\)/usr/games|\1$$(DESTDIR)$$(bindir)| ; \
|
|
|
|
/chmod/s|^|#| ; \
|
|
|
|
/chown/s|^|#|' ${WRKSRC}/Makefile.in
|
|
|
|
|
|
|
|
post-install:
|
|
|
|
.for i in 16 22 24 32 48
|
|
|
|
@${MKDIR} ${STAGEDIR}${PREFIX}/share/icons/hicolor/${i}x${i}/apps
|
|
|
|
(cd ${WRKSRC}/pixmaps/${i}x${i} && ${INSTALL_DATA} abacus.png \
|
|
|
|
${STAGEDIR}${PREFIX}/share/icons/hicolor/${i}x${i}/apps)
|
|
|
|
.endfor
|
2013-11-12 21:50:59 +01:00
|
|
|
|
2012-09-26 22:31:52 +02:00
|
|
|
.include <bsd.port.mk>
|