2003-12-04 22:38:01 +01:00
|
|
|
# New ports collection makefile for: trackballs
|
|
|
|
# Date created: 21 November 2003
|
|
|
|
# Whom: Adam Weinberger <adamw@FreeBSD.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= trackballs
|
2006-01-07 10:51:30 +01:00
|
|
|
PORTVERSION= 1.1.1
|
2003-12-04 22:38:01 +01:00
|
|
|
CATEGORIES= games
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}
|
|
|
|
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
|
|
COMMENT= SDL-based Marble Madness clone
|
|
|
|
|
2004-01-20 22:18:12 +01:00
|
|
|
LIB_DEPENDS= guile.15:${PORTSDIR}/lang/guile
|
2004-11-05 20:23:35 +01:00
|
|
|
RUN_DEPENDS= bash:${PORTSDIR}/shells/bash
|
2003-12-04 22:38:01 +01:00
|
|
|
|
|
|
|
USE_X_PREFIX= yes
|
2004-11-05 20:23:35 +01:00
|
|
|
USE_SDL= image mixer sdl ttf
|
2005-06-05 16:03:38 +02:00
|
|
|
USE_GETTEXT= yes
|
2004-11-05 20:23:35 +01:00
|
|
|
USE_GETOPT_LONG= yes
|
2003-12-04 22:38:01 +01:00
|
|
|
USE_REINPLACE= yes
|
|
|
|
USE_GMAKE= yes
|
2004-11-05 20:23:35 +01:00
|
|
|
GNU_CONFIGURE= yes
|
2005-04-12 05:26:56 +02:00
|
|
|
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
|
2004-01-29 23:18:44 +01:00
|
|
|
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
|
2005-06-05 16:03:38 +02:00
|
|
|
MAKE_ARGS= mkinstalldirs="${MKDIR}"
|
2004-01-29 23:18:44 +01:00
|
|
|
|
2004-11-05 20:23:35 +01:00
|
|
|
MAN6= ${PORTNAME}.6
|
|
|
|
|
2004-01-29 23:18:44 +01:00
|
|
|
CPPFLAGS= -I${LOCALBASE}/include -I${X11BASE}/include
|
2005-06-05 16:03:38 +02:00
|
|
|
LDFLAGS= -L${LOCALBASE}/lib -L${X11BASE}/lib -lintl
|
2003-12-04 22:38:01 +01:00
|
|
|
|
|
|
|
post-patch:
|
|
|
|
@${FIND} ${WRKSRC} -name '*.h' -o -name '*.cc' | ${XARGS} \
|
2005-06-05 16:03:38 +02:00
|
|
|
${REINPLACE_CMD} -e '/^#include/s|SDL/SDL|SDL|; \
|
|
|
|
/stdint.h/d'
|
|
|
|
@${REINPLACE_CMD} -e 's|/bin/bash|${LOCALBASE}/bin/bash|' \
|
2003-12-04 22:38:01 +01:00
|
|
|
${WRKSRC}/share/icons/installIcons
|
2005-06-05 16:03:38 +02:00
|
|
|
@${REINPLACE_CMD} -e 's|install -D|$$(INSTALL)|' \
|
2003-12-04 22:38:01 +01:00
|
|
|
${WRKSRC}/share/Makefile.in
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|