1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-23 04:23:08 +00:00
freebsd-ports/x11-toolkits/gnocl/Makefile
Tijl Coosemans f83c7639aa Remove libintl.so.9 compatibility link that was added in r374303 to
prevent massive PORTREVISION bumps.  Bump dependent ports that have not
been bumped since.
2016-12-08 19:52:19 +00:00

46 lines
1.3 KiB
Makefile

# Created by: Stephane Legrand <stephane@FreeBSD.org>
# $FreeBSD$
PORTNAME= gnocl
DISTVERSION= ${BASE_VERSION}-${NIGHTLY_BUILD}
PORTREVISION= 1
CATEGORIES= x11-toolkits devel
MASTER_SITES= SF/${PORTNAME}/Gnocl-Nightly-Build/
MAINTAINER= tcltk@FreeBSD.org
COMMENT= GTK+ and Gnome extension for Tcl
LICENSE= TclTk
LICENSE_NAME= Tcl/Tk License
LICENSE_FILE= ${WRKSRC}/license.terms
LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
LIB_DEPENDS= libcanberra.so:audio/libcanberra \
libnotify.so:devel/libnotify \
libgtkimageview.so:x11-toolkits/gtkimageview
USES= gmake pkgconfig tar:bzip2 tcl
USE_GNOME= gtk20 libglade2
USE_LDCONFIG= yes
CFLAGS+= -I${TCL_INCLUDEDIR} -L${TCL_LIBDIR}
BASE_VERSION= 0.9.96
NIGHTLY_BUILD= 31-08-13
WRKSRC= ${WRKDIR}/${PORTNAME}-${BASE_VERSION}
BUILD_WRKSRC= ${WRKSRC}/src
INSTALL_WRKSRC= ${BUILD_WRKSRC}
BASEDIR= lib/${PORTNAME}${BASE_VERSION}
PLIST_FILES= ${BASEDIR}/${PORTNAME}.so \
${BASEDIR}/pkgIndex.tcl
post-patch:
${REINPLACE_CMD} -e 's|tclsh|${TCLSH}|; \
s|%%LOCALBASE%%|${LOCALBASE}|; \
s|%%SHORT_TCL_VER%%|${TCL_VER:S/.//}|' \
${BUILD_WRKSRC}/Makefile
${REINPLACE_CMD} -e 's|\[info library\]|${STAGEDIR}${PREFIX}/lib|; s|tclsh|${TCLSH}|g;' ${BUILD_WRKSRC}/install.tcl
.include <bsd.port.mk>