From owner-freebsd-ports Tue Sep 17 10:30:34 2002 Delivered-To: freebsd-ports@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B718937B40E for ; Tue, 17 Sep 2002 10:30:13 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0B46743E97 for ; Tue, 17 Sep 2002 10:30:11 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.6/8.12.6) with ESMTP id g8HHUACo017792 for ; Tue, 17 Sep 2002 10:30:10 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.6/8.12.6/Submit) id g8HHUAD1017791; Tue, 17 Sep 2002 10:30:10 -0700 (PDT) Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A7D6137B413 for ; Tue, 17 Sep 2002 10:24:19 -0700 (PDT) Received: from www.freebsd.org (www.FreeBSD.org [216.136.204.117]) by mx1.FreeBSD.org (Postfix) with ESMTP id CD41644048 for ; Tue, 17 Sep 2002 09:58:57 -0700 (PDT) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.12.4/8.12.4) with ESMTP id g8HGwvOT021916 for ; Tue, 17 Sep 2002 09:58:57 -0700 (PDT) (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.12.4/8.12.4/Submit) id g8HGwvAC021915; Tue, 17 Sep 2002 09:58:57 -0700 (PDT) Message-Id: <200209171658.g8HGwvAC021915@www.freebsd.org> Date: Tue, 17 Sep 2002 09:58:57 -0700 (PDT) From: KATO Tsuguru To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-1.0 Subject: ports/42892: Update port: science/glens Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 42892 >Category: ports >Synopsis: Update port: science/glens >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Tue Sep 17 10:30:10 PDT 2002 >Closed-Date: >Last-Modified: >Originator: KATO Tsuguru >Release: 4.6.2-RELEASE i386 >Organization: >Environment: >Description: - Support CFLAGS/CXXFLAGS properly - Support install macros >How-To-Repeat: >Fix: diff -urN /usr/ports/science/glens/Makefile science/glens/Makefile --- /usr/ports/science/glens/Makefile Thu Aug 8 17:39:30 2002 +++ science/glens/Makefile Sun Sep 15 08:52:18 2002 @@ -8,6 +8,7 @@ PORTNAME= glens PORTVERSION= 0.3 +PORTREVISION= 1 CATEGORIES= science MASTER_SITES= http://virtual.theo.phys.ulg.ac.be/ @@ -15,16 +16,22 @@ BUILD_DEPENDS= ${X11BASE}/lib/libglui.a:${PORTSDIR}/devel/glui +USE_REINPLACE= yes USE_MESA= yes GNU_CONFIGURE= yes -CONFIGURE_ENV= CPPFLAGS="${CXXFLAGS} ${PTHREAD_CFLAGS} -I${X11BASE}/include" \ - LDFLAGS="${PTHREAD_LIBS} -L${LOCALBASE}/lib -lstdc++" +CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}" CONFIGURE_ARGS= --with-glui=${X11BASE} -.if !defined(NOPORTDOCS) +CPPFLAGS= -I${LOCALBASE}/include -I${X11BASE}/include ${PTHREAD_CFLAGS} +LDFLAGS= -L${LOCALBASE}/lib -L${X11BASE}/lib ${PTHREAD_LIBS} + +post-patch: + @${REINPLACE_CMD} 's|-O6||g' ${WRKSRC}/configure + post-install: - @${MKDIR} ${EXAMPLESDIR} - ${CP} -R ${WRKSRC}/cfg ${EXAMPLESDIR} +.if !defined(NOPORTDOCS) + @${MKDIR} ${EXAMPLESDIR}/cfg + ${INSTALL_DATA} ${WRKSRC}/cfg/*.cgf ${EXAMPLESDIR}/cfg .endif .include >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message