mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-17 03:25:46 +00:00
4eb209da7d
and make XFREE86_VERSION map to it. XFREE86_VERSION is now deprecated. - Make xorg the default X_WINDOW_SYSTEM on -current. - Add several new X_*_PORT variables which point to various pieces of X11 based on the setting of X_WINDOW_SYSTEM, and make ports use them. - Add information to CHANGES about how to handle the transition. PR: ports/68763 Approved by: portmgr (marcus) Approved by: re (scottl)
43 lines
1.1 KiB
Makefile
43 lines
1.1 KiB
Makefile
# New ports collection makefile for: gauche
|
|
# Date created: 9 September 2002
|
|
# Whom: Akinori MUSHA aka knu <knu@idaemons.org>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= gauche-sdl
|
|
PORTVERSION= 0.5.1
|
|
CATEGORIES= devel scheme
|
|
MASTER_SITES= http://www.michaelvess.com/text/code/
|
|
DISTNAME= ${PORTFAKENAME}-${PORTVERSION}
|
|
|
|
MAINTAINER= erik@smluc.org
|
|
COMMENT= Scheme script interpreter with multibyte character handling
|
|
|
|
BUILD_DEPENDS= gosh:${PORTSDIR}/lang/gauche \
|
|
${X11BASE}/lib/X11/rgb.txt:${X_CLIENTS_PORT}
|
|
RUN_DEPENDS= gosh:${PORTSDIR}/lang/gauche \
|
|
${X11BASE}/lib/X11/rgb.txt:${X_CLIENTS_PORT}
|
|
|
|
PLIST_SUB= GAUCHE_VERSION="`gauche-config -V`"\
|
|
TARGET="${CONFIGURE_TARGET}"
|
|
WRKSRC= ${WRKDIR}/${PORTFAKENAME}
|
|
PORTFAKENAME= Gauche-sdl
|
|
USE_SDL= image mixer sdl ttf
|
|
GNU_CONFIGURE= yes
|
|
USE_REINPLACE= yes
|
|
|
|
pre-configure:
|
|
.for DIR in . image mixer ttf
|
|
${REINPLACE_CMD} \
|
|
-e "s|^CFLAGS .*|& `${SDL_CONFIG} --cflags`|"\
|
|
-e "s|-lSDL|`${SDL_CONFIG} --libs`|"\
|
|
${WRKSRC}/src/${DIR}/Makefile.in
|
|
.endfor
|
|
${REINPLACE_CMD} \
|
|
-e "s|SDL/SDL|SDL|g"\
|
|
-e "s|%%SDL_CFLAGS%%|`${SDL_CONFIG} --cflags`|"\
|
|
${WRKSRC}/configure
|
|
|
|
.include <bsd.port.mk>
|