mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-15 03:14:23 +00:00
0d2725682b
structure (i.e. include/SDL for includes and sdl-config for configuration binary) - Update graphics/sdl_ttf to version 2.0.8 - Update graphics/sdl_image to version 1.2.5 - Update audio/sdl_mixer to version 1.2.7 - Update net/sdl_net to version 1.2.6 - Update Mk/bsd.sdl.mk accordingly - Fix dependent ports to fit the new directory structure and avoid several API breakages - Bump up portrevisions for all dependent ports to allow them to be upgraded by portupgrade/portmaster etc tools Approved by: kris (portmgr), sem (mentor)
46 lines
1.2 KiB
Makefile
46 lines
1.2 KiB
Makefile
# New ports collection makefile for: trackballs
|
|
# Date created: 21 November 2003
|
|
# Whom: Adam Weinberger <adamw@FreeBSD.org>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= trackballs
|
|
PORTVERSION= 1.1.2
|
|
PORTREVISION= 1
|
|
CATEGORIES= games
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= SDL-based Marble Madness clone
|
|
|
|
LIB_DEPENDS= guile.15:${PORTSDIR}/lang/guile
|
|
RUN_DEPENDS= bash:${PORTSDIR}/shells/bash
|
|
|
|
USE_X_PREFIX= yes
|
|
USE_SDL= image mixer sdl ttf
|
|
USE_GETTEXT= yes
|
|
USE_GETOPT_LONG= yes
|
|
USE_GMAKE= yes
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
|
|
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
|
|
MAKE_ARGS= mkinstalldirs="${MKDIR}"
|
|
|
|
MAN6= ${PORTNAME}.6
|
|
|
|
CPPFLAGS= -I${LOCALBASE}/include -I${X11BASE}/include
|
|
LDFLAGS= -L${LOCALBASE}/lib -L${X11BASE}/lib -lintl
|
|
|
|
post-patch:
|
|
@${FIND} ${WRKSRC} -name '*.h' -o -name '*.cc' | ${XARGS} \
|
|
${REINPLACE_CMD} -e '/^#include/s|SDL/SDL|SDL|; \
|
|
/stdint.h/d'
|
|
@${REINPLACE_CMD} -e 's|/bin/bash|${LOCALBASE}/bin/bash|' \
|
|
${WRKSRC}/share/icons/installIcons
|
|
@${REINPLACE_CMD} -e 's|install -D|$$(INSTALL)|' \
|
|
${WRKSRC}/share/Makefile.in
|
|
|
|
.include <bsd.port.mk>
|