mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-25 04:43:33 +00:00
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.
60 lines
1.3 KiB
Makefile
60 lines
1.3 KiB
Makefile
# ex:ts=8
|
|
# Ports collection makefile for: e4graph
|
|
# Date created: Jul 16, 2002
|
|
# Whom: ijliao
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= e4graph
|
|
PORTVERSION= 1.0a11
|
|
PORTREVISION= 1
|
|
CATEGORIES= devel tcl84
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}
|
|
EXTRACT_SUFX= .src.tar.gz
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= A C++ library that persistently stores graph like data
|
|
|
|
LIB_DEPENDS= mk4.0:${PORTSDIR}/databases/metakit \
|
|
tcl${TCLVND}:${PORTSDIR}/lang/tcl${TCLVND} \
|
|
expat.5:${PORTSDIR}/textproc/expat2
|
|
|
|
WRKSRC= ${WRKDIR}/${DISTNAME}/all
|
|
|
|
USE_REINPLACE= yes
|
|
USE_GMAKE= yes
|
|
USE_AUTOTOOLS= libtool:15
|
|
CONFIGURE_ARGS= --with-metakit=${LOCALBASE} \
|
|
--with-tcl=${LOCALBASE}/lib/tcl${TCL_VER} --enable-tcl \
|
|
--with-expat=${LOCALBASE} --enable-xml
|
|
CFLAGS+= -fpermissive -I${LOCALBASE}/include/tcl${TCL_VER}
|
|
MAKEFILE= makefile
|
|
INSTALLS_SHLIB= yes
|
|
PLIST_SUB= TCL_VER="${TCL_VER}"
|
|
|
|
.if defined(WITH_PYTHON)
|
|
USE_PYTHON= yes
|
|
CONFIGURE_ARGS+= --enable-python
|
|
PLIST_SUB+= PYTHON=""
|
|
.else
|
|
PLIST_SUB+= PYTHON="@comment "
|
|
.endif
|
|
|
|
TCL_VER?= 8.4
|
|
TCLVND= ${TCL_VER:S/.//}
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e 's|=-O$$|="$${CFLAGS}"|g ; \
|
|
s|gcc -shared|$$(CC) -shared|g ; \
|
|
s|$${CONFIG_SHELL-/bin/sh} $$ac_aux_dir|$$ac_aux_dir|' \
|
|
${WRKSRC}/configure
|
|
|
|
post-install:
|
|
.for file in testcore testcores
|
|
@${STRIP_CMD} ${PREFIX}/bin/${file}
|
|
.endfor
|
|
|
|
.include <bsd.port.mk>
|