c59a3834c4
ports use BUILD_DEPENDS:= ${RUN_DEPENDS}. This patch fixes ports that are currently broken. This is a temporary measure until we organically stop using := or someone(s) spend a lot of time changing all the ports over. Explicit duplication > := > = and this just moves ports one step to the left Approved by: portmgr
56 lines
1.3 KiB
Makefile
56 lines
1.3 KiB
Makefile
# New ports collection makefile for: Gauche-gl
|
|
# Date created: 16 December 2002
|
|
# Whom: Kimura Fuyuki <fuyuki@hadaly.org>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= gl
|
|
PORTVERSION= 0.4.4
|
|
PORTREVISION= 1
|
|
CATEGORIES= graphics scheme
|
|
MASTER_SITES= SF/gauche/Gauche-gl/${PORTVERSION}
|
|
PKGNAMEPREFIX= gauche-
|
|
DISTNAME= Gauche-${PORTNAME}-${PORTVERSION}
|
|
EXTRACT_SUFX= .tgz
|
|
|
|
MAINTAINER= erik@bz.bzflag.bz
|
|
COMMENT= OpenGL binding for Gauche
|
|
|
|
BUILD_DEPENDS= gosh:${PORTSDIR}/lang/gauche
|
|
RUN_DEPENDS:= ${BUILD_DEPENDS}
|
|
|
|
BROKEN= does not build
|
|
|
|
USE_GL= glut
|
|
GNU_CONFIGURE= yes
|
|
MAKE_JOBS_UNSAFE= yes
|
|
|
|
EXAMPLESDIR= ${PREFIX}/share/examples/gauche/${PORTNAME}
|
|
DOCSDIR= ${PREFIX}/share/doc/gauche/${PORTNAME}
|
|
PLIST_SUB= VERSION="`gauche-config -V`" \
|
|
TARGET="${CONFIGURE_TARGET}"
|
|
|
|
.if !defined(NOPORTDOCS)
|
|
INFO= gauche-gl-refe gauche-gl-refj
|
|
.endif
|
|
|
|
post-patch:
|
|
${REINPLACE_CMD} s/VESRION/VERSION/ ${WRKSRC}/src/gen-ptrs.scm
|
|
|
|
do-install:
|
|
cd ${WRKSRC}/src; ${MAKE} ${INSTALL_TARGET}
|
|
cd ${WRKSRC}/lib; ${MAKE} ${INSTALL_TARGET}
|
|
|
|
post-install:
|
|
.if !defined(NOPORTDOCS)
|
|
.for i in gauche-gl-refe.info gauche-gl-refj.info
|
|
${GZCAT} ${WRKSRC}/doc/${i}.gz >${PREFIX}/info/${i}
|
|
.endfor
|
|
${MKDIR} ${EXAMPLESDIR}
|
|
${CP} -R ${WRKSRC}/examples/* ${EXAMPLESDIR}
|
|
${MKDIR} ${DOCSDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|