mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-24 00:45:52 +00:00
d4f0d0048a
- Set X11BASE to ${LOCALBASE} for recent ${OSVERSION}. - Bump PORTREVISION for ports intalling files in ${X11BASE}.
40 lines
1.1 KiB
Makefile
40 lines
1.1 KiB
Makefile
# New ports collection makefile for: tkdnd
|
|
# Date created: 14 October 2006
|
|
# Whom: Andrew Pantyukhin <infofarmer@FreeBSD.org>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= tkdnd
|
|
PORTVERSION= 1.0
|
|
PORTREVISION= 1
|
|
DISTVERSION= 1.0.20040304
|
|
CATEGORIES= x11-toolkits tk84
|
|
MASTER_SITES= CENKES
|
|
# Distfile prepared from SourceForge CVS
|
|
|
|
MAINTAINER= infofarmer@FreeBSD.org
|
|
COMMENT= Native drag and drop capabilities
|
|
|
|
USE_BZIP2= yes
|
|
USE_TK= yes
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ARGS= --with-tcl=${TCL_LIBDIR} --with-tk=${TK_LIBDIR} \
|
|
--x-libraries=${X11BASE}/lib --x-includes=${X11BASE}/include \
|
|
--with-tclinclude=${TCL_INCLUDEDIR} --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 '/^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}
|
|
|
|
.include <bsd.port.mk>
|