1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-30 01:15:52 +00:00
freebsd-ports/x11-toolkits/gnocl/Makefile

45 lines
1.3 KiB
Makefile
Raw Normal View History

# Created by: Stephane Legrand <stephane@FreeBSD.org>
# $FreeBSD$
PORTNAME= gnocl
DISTVERSION= ${BASE_VERSION}-${NIGHTLY_BUILD}
CATEGORIES= x11-toolkits devel
2012-04-10 13:11:36 +00:00
MASTER_SITES= SF/${PORTNAME}/Gnocl-Nightly-Build/
MAINTAINER= tcltk@FreeBSD.org
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
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
USES= gmake pkgconfig tar:bzip2 tcl
USE_GNOME= gtk20 libglade2
USE_LDCONFIG= yes
2013-02-01 13:52:16 +00:00
CFLAGS+= -I${TCL_INCLUDEDIR} -L${TCL_LIBDIR}
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
WRKSRC= ${WRKDIR}/${PORTNAME}-${BASE_VERSION}
BUILD_WRKSRC= ${WRKSRC}/src
2010-12-24 21:20:06 +00:00
INSTALL_WRKSRC= ${BUILD_WRKSRC}
BASEDIR= lib/${PORTNAME}${BASE_VERSION}
2010-12-24 21:20:06 +00:00
PLIST_FILES= ${BASEDIR}/${PORTNAME}.so \
${BASEDIR}/pkgIndex.tcl
post-patch:
2013-02-01 13:52:16 +00:00
${REINPLACE_CMD} -e 's|tclsh|${TCLSH}|; \
s|%%LOCALBASE%%|${LOCALBASE}|; \
s|%%SHORT_TCL_VER%%|${TCL_VER:S/.//}|' \
2013-02-01 13:52:16 +00:00
${BUILD_WRKSRC}/Makefile
${REINPLACE_CMD} -e 's|\[info library\]|${STAGEDIR}${PREFIX}/lib|; s|tclsh|${TCLSH}|g;' ${BUILD_WRKSRC}/install.tcl
2010-12-24 21:20:06 +00:00
.include <bsd.port.mk>