54a0b86543
in bsd.autotools.mk essentially makes this a no-op given that all the old variables set a USE_AUTOTOOLS_COMPAT variable, which is parsed in exactly the same way as USE_AUTOTOOLS itself. Moreover, USE_AUTOTOOLS has already been extensively tested by the GNOME team -- all GNOME 2.12.x ports use it. Preliminary documentation can be found at: http://people.FreeBSD.org/~ade/autotools.txt which is in the process of being SGMLized before introduction into the Porters Handbook. Light blue touch-paper. Run.
41 lines
1.1 KiB
Makefile
41 lines
1.1 KiB
Makefile
# ex:ts=8
|
|
# New ports collection makefile for: gtkglarea--
|
|
# Date created: Dec 5, 2001
|
|
# Whom: ijliao
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= gtkglareamm
|
|
PORTVERSION= 1.1.1
|
|
PORTREVISION= 1
|
|
CATEGORIES= x11-toolkits
|
|
MASTER_SITES= ${MASTER_SITE_DEBIAN}
|
|
MASTER_SITE_SUBDIR= pool/main/g/${PORTNAME}
|
|
DISTNAME= ${PORTNAME}_${PORTVERSION}.orig
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= GtkGLArea-- is a wrapper for the GtkGLArea widget
|
|
|
|
BUILD_DEPENDS= gm4:${PORTSDIR}/devel/m4
|
|
LIB_DEPENDS= gtkmm.2:${PORTSDIR}/x11-toolkits/gtk-- \
|
|
gtkgl.5:${PORTSDIR}/x11-toolkits/gtkglarea
|
|
|
|
USE_GL= yes
|
|
USE_GNOME= gtk12
|
|
USE_AUTOTOOLS= libtool:15
|
|
USE_REINPLACE= yes
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
|
|
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
|
|
CONFIGURE_ARGS= --with-lib-GL
|
|
INSTALLS_SHLIB= yes
|
|
|
|
CPPFLAGS= -I${LOCALBASE}/include -I${X11BASE}/include ${PTHREAD_CFLAGS}
|
|
LDFLAGS= -L${LOCALBASE}/lib -L${X11BASE}/lib -lGL -lGLU \
|
|
${PTHREAD_LIBS}
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e 's|$${CONFIG_SHELL-/bin/sh} $$ac_aux_dir|$$ac_aux_dir|' \
|
|
${WRKSRC}/configure
|
|
|
|
.include <bsd.port.mk>
|