2013-09-21 01:57:47 +02:00
|
|
|
# Created by: Andrew Pantyukhin <infofarmer@FreeBSD.org>
|
2006-11-01 07:39:12 +01:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= tkdnd
|
|
|
|
PORTVERSION= 1.0
|
|
|
|
DISTVERSION= 1.0.20040304
|
2009-02-23 15:46:37 +01:00
|
|
|
PORTREVISION= 3
|
2008-04-09 15:42:26 +02:00
|
|
|
CATEGORIES= x11-toolkits tk
|
2007-04-18 10:01:25 +02:00
|
|
|
MASTER_SITES= CENKES
|
2006-11-01 07:39:12 +01:00
|
|
|
# Distfile prepared from SourceForge CVS
|
|
|
|
|
2008-09-07 02:19:05 +02:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2006-11-01 07:39:12 +01:00
|
|
|
COMMENT= Native drag and drop capabilities
|
|
|
|
|
|
|
|
USE_BZIP2= yes
|
|
|
|
USE_TK= yes
|
2007-07-30 23:04:31 +02:00
|
|
|
USE_XORG= x11 xext
|
2006-11-01 07:39:12 +01:00
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
CONFIGURE_ARGS= --with-tcl=${TCL_LIBDIR} --with-tk=${TK_LIBDIR} \
|
|
|
|
--with-tclinclude=${TCL_INCLUDEDIR} --with-tkinclude=${TK_INCLUDEDIR} --enable-shared
|
2011-09-24 00:26:39 +02:00
|
|
|
CPPFLAGS+= -I${TK_INCLUDEDIR}/generic -I${TCL_INCLUDEDIR}/generic
|
2006-11-01 07:39:12 +01:00
|
|
|
TKPKG= ${PORTNAME}${PORTVERSION}
|
|
|
|
PLIST_SUB= TKPKG=${TKPKG}
|
|
|
|
USE_LDCONFIG= ${PREFIX}/lib/${TKPKG}
|
|
|
|
MANN= ${PORTNAME}.n
|
|
|
|
|
2013-09-21 01:57:47 +02:00
|
|
|
NO_STAGE= yes
|
2006-11-01 07:39:12 +01:00
|
|
|
post-patch:
|
|
|
|
@${REINPLACE_CMD} -Ee '/^install:/s#install-doc##' -e 's#.*txt.*##' ${WRKSRC}/Makefile.in
|
|
|
|
|
|
|
|
post-install:
|
|
|
|
@${LN} -sf ${USE_LDCONFIG}/lib${TKPKG}.so ${USE_LDCONFIG}/lib${TKPKG}.so.0
|
|
|
|
@${INSTALL_MAN} ${WRKSRC}/doc/tkDND.n ${MANNPREFIX}/man/mann/${MANN}
|
|
|
|
|
2009-12-16 14:14:59 +01:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
|
|
|
.if ${OSVERSION} >= 900000
|
|
|
|
BROKEN= does not build
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.post.mk>
|