2012-11-26 22:43:25 +00:00
|
|
|
# Created by: Stephane Legrand <stephane@FreeBSD.org>
|
2003-08-20 21:57:26 +00:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= gnocl
|
2011-05-10 12:23:22 +00:00
|
|
|
DISTVERSION= ${BASE_VERSION}-${NIGHTLY_BUILD}
|
2003-08-20 21:57:26 +00:00
|
|
|
CATEGORIES= x11-toolkits devel
|
2012-04-10 13:11:36 +00:00
|
|
|
MASTER_SITES= SF/${PORTNAME}/Gnocl-Nightly-Build/
|
2003-08-20 21:57:26 +00:00
|
|
|
|
2012-11-26 22:43:25 +00:00
|
|
|
MAINTAINER= tcltk@FreeBSD.org
|
2003-08-20 21:57:26 +00:00
|
|
|
COMMENT= GTK+ and Gnome extension for Tcl
|
|
|
|
|
2014-12-07 13:54:52 +00:00
|
|
|
LICENSE= TclTk
|
|
|
|
LICENSE_NAME= Tcl/Tk License
|
2014-12-08 07:33:14 +00:00
|
|
|
LICENSE_FILE= ${WRKSRC}/license.terms
|
2014-12-07 13:54:52 +00:00
|
|
|
LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
|
2013-02-01 13:52:16 +00:00
|
|
|
|
2014-05-12 10:50:39 +00:00
|
|
|
LIB_DEPENDS= libcanberra.so:${PORTSDIR}/audio/libcanberra \
|
|
|
|
libnotify.so:${PORTSDIR}/devel/libnotify \
|
|
|
|
libgtkimageview.so:${PORTSDIR}/x11-toolkits/gtkimageview
|
2010-12-24 21:20:06 +00:00
|
|
|
|
2014-05-12 10:50:39 +00:00
|
|
|
USES= gmake pkgconfig tar:bzip2 tcl
|
2013-08-30 23:40:56 +00:00
|
|
|
USE_GNOME= gtk20 libglade2
|
- 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 17:56:05 +00:00
|
|
|
USE_LDCONFIG= yes
|
2013-02-01 13:52:16 +00:00
|
|
|
CFLAGS+= -I${TCL_INCLUDEDIR} -L${TCL_LIBDIR}
|
2003-08-20 21:57:26 +00:00
|
|
|
|
2012-01-04 13:52:14 +00:00
|
|
|
BASE_VERSION= 0.9.96
|
2013-09-17 08:36:00 +00:00
|
|
|
NIGHTLY_BUILD= 31-08-13
|
2011-05-10 12:23:22 +00:00
|
|
|
|
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}-${BASE_VERSION}
|
2003-08-20 21:57:26 +00:00
|
|
|
BUILD_WRKSRC= ${WRKSRC}/src
|
2010-12-24 21:20:06 +00:00
|
|
|
INSTALL_WRKSRC= ${BUILD_WRKSRC}
|
2003-08-20 21:57:26 +00:00
|
|
|
|
2011-05-10 12:23:22 +00:00
|
|
|
BASEDIR= lib/${PORTNAME}${BASE_VERSION}
|
2010-12-24 21:20:06 +00:00
|
|
|
PLIST_FILES= ${BASEDIR}/${PORTNAME}.so \
|
|
|
|
${BASEDIR}/pkgIndex.tcl
|
2009-07-09 06:38:56 +00:00
|
|
|
|
2004-03-26 18:00:49 +00:00
|
|
|
post-patch:
|
2013-02-01 13:52:16 +00:00
|
|
|
${REINPLACE_CMD} -e 's|tclsh|${TCLSH}|; \
|
2013-02-06 09:36:00 +00:00
|
|
|
s|%%LOCALBASE%%|${LOCALBASE}|; \
|
|
|
|
s|%%SHORT_TCL_VER%%|${TCL_VER:S/.//}|' \
|
2013-02-01 13:52:16 +00:00
|
|
|
${BUILD_WRKSRC}/Makefile
|
2014-05-12 10:50:39 +00:00
|
|
|
${REINPLACE_CMD} -e 's|\[info library\]|${STAGEDIR}${PREFIX}/lib|; s|tclsh|${TCLSH}|g;' ${BUILD_WRKSRC}/install.tcl
|
2008-05-30 23:20:13 +00:00
|
|
|
|
2010-12-24 21:20:06 +00:00
|
|
|
.include <bsd.port.mk>
|