- 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)
36 lines
948 B
Makefile
36 lines
948 B
Makefile
# New ports collection makefile for: tktray
|
|
# Date created: 14 October 2006
|
|
# Whom: Andrew Pantyukhin <infofarmer@FreeBSD.org>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= tktray
|
|
PORTVERSION= 1.1
|
|
PORTREVISION= 2
|
|
CATEGORIES= x11-toolkits tk
|
|
MASTER_SITES= http://www.sw4me.com/ CENKES
|
|
DISTNAME= ${TKPKG}
|
|
|
|
MAINTAINER= infofarmer@FreeBSD.org
|
|
COMMENT= System tray icon support
|
|
|
|
USE_TK= yes
|
|
USE_XORG= x11 xext
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ARGS= --with-tcl=${TCL_LIBDIR} --with-tk=${TK_LIBDIR} \
|
|
--with-tkinclude=${TK_INCLUDEDIR} --enable-shared
|
|
CPPFLAGS= -I${TK_INCLUDEDIR}/generic -I${TCL_INCLUDEDIR}/generic
|
|
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}"
|
|
TKPKG= ${PORTNAME}${PORTVERSION}
|
|
PLIST_SUB= TKPKG=${TKPKG}
|
|
USE_LDCONFIG= ${PREFIX}/lib/${TKPKG}
|
|
MANN= ${PORTNAME}.n
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -Ee '/^.+TCLLIBPATH/s#$$# \\#' ${WRKSRC}/Makefile.in
|
|
|
|
post-install:
|
|
@${LN} -sf ${USE_LDCONFIG}/lib${TKPKG}.so ${USE_LDCONFIG}/lib${TKPKG}.so.0
|
|
|
|
.include <bsd.port.mk>
|