2003-01-25 15:06:53 +01:00
|
|
|
# New ports collection makefile for: Gauche-gl
|
|
|
|
# Date created: 16 December 2002
|
|
|
|
# Whom: Kimura Fuyuki <fuyuki@hadaly.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= gl
|
2007-08-21 11:28:42 +02:00
|
|
|
PORTVERSION= 0.4.4
|
2003-08-21 07:34:54 +02:00
|
|
|
CATEGORIES= graphics scheme
|
- Remove unneeded dependency from gtk12/gtk20 [1]
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG
- Remove X11BASE support in favor of LOCALBASE or PREFIX
- Use USE_LDCONFIG instead of INSTALLS_SHLIB
- Remove unneeded USE_GCC 3.4+
Thanks to all Helpers:
Dmitry Marakasov, Chess Griffin, beech@, dinoex, rafan, gahr,
ehaupt, nox, itetcu, flz, pav
PR: 116263
Tested on: pointyhat
Approved by: portmgr (pav)
2008-04-19 19:56:05 +02:00
|
|
|
MASTER_SITES= SF
|
2003-01-25 15:06:53 +01:00
|
|
|
PKGNAMEPREFIX= gauche-
|
|
|
|
DISTNAME= Gauche-${PORTNAME}-${PORTVERSION}
|
|
|
|
EXTRACT_SUFX= .tgz
|
|
|
|
|
2004-05-16 09:30:10 +02:00
|
|
|
MAINTAINER= erik@smluc.org
|
2003-02-21 13:17:17 +01:00
|
|
|
COMMENT= OpenGL binding for Gauche
|
2003-01-25 15:06:53 +01:00
|
|
|
|
|
|
|
BUILD_DEPENDS= gosh:${PORTSDIR}/lang/gauche
|
|
|
|
RUN_DEPENDS= ${BUILD_DEPENDS}
|
|
|
|
|
2007-05-19 22:36:56 +02:00
|
|
|
USE_GL= glut
|
2003-01-25 15:06:53 +01:00
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
|
|
|
|
EXAMPLESDIR= ${PREFIX}/share/examples/gauche/${PORTNAME}
|
|
|
|
DOCSDIR= ${PREFIX}/share/doc/gauche/${PORTNAME}
|
|
|
|
PLIST_SUB= VERSION="`gauche-config -V`" \
|
|
|
|
TARGET="${CONFIGURE_TARGET}"
|
|
|
|
|
2005-11-29 01:09:52 +01:00
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
INFO= gauche-gl-refe gauche-gl-refj
|
|
|
|
.endif
|
|
|
|
|
2006-06-05 15:12:46 +02:00
|
|
|
post-patch:
|
|
|
|
${REINPLACE_CMD} s/VESRION/VERSION/ ${WRKSRC}/src/gen-ptrs.scm
|
|
|
|
|
2003-01-25 15:06:53 +01:00
|
|
|
do-install:
|
|
|
|
cd ${WRKSRC}/src; ${MAKE} ${INSTALL_TARGET}
|
|
|
|
cd ${WRKSRC}/lib; ${MAKE} ${INSTALL_TARGET}
|
|
|
|
|
|
|
|
post-install:
|
|
|
|
.if !defined(NOPORTDOCS)
|
2005-11-29 01:09:52 +01:00
|
|
|
.for i in gauche-gl-refe.info gauche-gl-refj.info
|
|
|
|
${GZCAT} ${WRKSRC}/doc/${i}.gz >${PREFIX}/info/${i}
|
2003-03-29 01:39:16 +01:00
|
|
|
.endfor
|
2003-01-25 15:06:53 +01:00
|
|
|
${MKDIR} ${EXAMPLESDIR}
|
|
|
|
${CP} -R ${WRKSRC}/examples/* ${EXAMPLESDIR}
|
|
|
|
${MKDIR} ${DOCSDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|