2003-08-20 17:57:26 -04:00
|
|
|
# New ports collection makefile for: gnocl
|
|
|
|
# Date created: 15 August 2003
|
|
|
|
# Whom: Stephane Legrand <stephane@FreeBSD.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= gnocl
|
2011-05-10 08:23:22 -04:00
|
|
|
DISTVERSION= ${BASE_VERSION}-${NIGHTLY_BUILD}
|
2011-08-23 14:39:19 -04:00
|
|
|
PORTREVISION= 1
|
2003-08-20 17:57:26 -04:00
|
|
|
CATEGORIES= x11-toolkits devel
|
2011-05-10 08:23:22 -04:00
|
|
|
MASTER_SITES= SF/${PORTNAME}/Gnocl-Nightly-Build/
|
2003-08-20 17:57:26 -04:00
|
|
|
|
2008-05-30 19:20:13 -04:00
|
|
|
MAINTAINER= gahr@FreeBSD.org
|
2003-08-20 17:57:26 -04:00
|
|
|
COMMENT= GTK+ and Gnome extension for Tcl
|
|
|
|
|
2011-05-18 05:00:36 -04:00
|
|
|
LIB_DEPENDS= canberra.0:${PORTSDIR}/audio/libcanberra \
|
2011-08-23 14:39:19 -04:00
|
|
|
notify.4:${PORTSDIR}/devel/libnotify
|
2010-12-24 16:20:06 -05:00
|
|
|
|
2003-08-20 17:57:26 -04:00
|
|
|
USE_GMAKE= yes
|
2010-12-24 16:20:06 -05:00
|
|
|
USE_BZIP2= yes
|
2011-05-18 05:00:36 -04:00
|
|
|
USE_GNOME= gtk20 libglade2 pkgconfig
|
2010-12-24 16:20:06 -05:00
|
|
|
USE_TCL= 84+
|
- 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 13:56:05 -04:00
|
|
|
USE_LDCONFIG= yes
|
2010-12-24 16:20:06 -05:00
|
|
|
CFLAGS+= -I${TCL_INCLUDEDIR} -L${TCL_LIBDIR} `pkg-config --cflags libglade-2.0`
|
2003-08-20 17:57:26 -04:00
|
|
|
|
2011-05-10 08:23:22 -04:00
|
|
|
BASE_VERSION= 0.9.95
|
2011-07-18 04:44:53 -04:00
|
|
|
NIGHTLY_BUILD= 30-06-11
|
2011-05-10 08:23:22 -04:00
|
|
|
|
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}-${BASE_VERSION}
|
2003-08-20 17:57:26 -04:00
|
|
|
BUILD_WRKSRC= ${WRKSRC}/src
|
2010-12-24 16:20:06 -05:00
|
|
|
INSTALL_WRKSRC= ${BUILD_WRKSRC}
|
2003-08-20 17:57:26 -04:00
|
|
|
|
2011-05-10 08:23:22 -04:00
|
|
|
BASEDIR= lib/${PORTNAME}${BASE_VERSION}
|
2010-12-24 16:20:06 -05:00
|
|
|
PLIST_FILES= ${BASEDIR}/${PORTNAME}.so \
|
|
|
|
${BASEDIR}/pkgIndex.tcl
|
|
|
|
PLIST_DIRS= ${BASEDIR}
|
2009-07-09 02:38:56 -04:00
|
|
|
|
2004-03-26 13:00:49 -05:00
|
|
|
post-patch:
|
2010-12-24 16:20:06 -05:00
|
|
|
${REINPLACE_CMD} -e 's|tclsh|${TCLSH}|;s|$$(TCL_VERSION)|${TCL_VER:S/.//}|g' ${BUILD_WRKSRC}/Makefile
|
|
|
|
${REINPLACE_CMD} -e 's|\[info library\]|${PREFIX}/lib|; s|tclsh|${TCLSH}|g;' ${BUILD_WRKSRC}/install.tcl
|
2008-05-30 19:20:13 -04:00
|
|
|
|
2010-12-24 16:20:06 -05:00
|
|
|
.include <bsd.port.mk>
|