49 lines
1.4 KiB
Makefile
49 lines
1.4 KiB
Makefile
# $NetBSD: Makefile,v 1.21 2012/10/03 00:02:45 asau Exp $
|
|
#
|
|
|
|
DISTNAME= icb.2.1.4
|
|
PKGNAME= tkicb-2.1.4
|
|
PKGREVISION= 3
|
|
CATEGORIES= chat x11
|
|
MASTER_SITES= ftp://shoshin.armory.com/pub/
|
|
EXTRACT_SUFX= .tar.Z
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= http://www.icb.net/
|
|
COMMENT= TK interface to the ICB chat system
|
|
LICENSE= generic-nonlicense
|
|
|
|
RESTRICTED= Author wishes to handle distribution
|
|
NO_BIN_ON_FTP= ${RESTRICTED}
|
|
NO_SRC_ON_FTP= ${RESTRICTED}
|
|
NO_BIN_ON_CDROM= ${RESTRICTED}
|
|
NO_SRC_ON_CDROM= ${RESTRICTED}
|
|
|
|
PKG_INSTALLATION_TYPES= overwrite pkgviews
|
|
|
|
WRKSRC= ${WRKDIR}
|
|
NO_CONFIGURE= YES
|
|
USE_LANGUAGES= # empty
|
|
USE_TOOLS+= wish:run
|
|
|
|
INSTALLATION_DIRS= bin
|
|
|
|
do-build:
|
|
${SED} -e 's,/usr/local/lib/icb,${PREFIX}/libdata/tkicb,g' \
|
|
-e 's,wish8\.0,${WISH},g' < ${WRKSRC}/bin/icb \
|
|
> ${WRKSRC}/bin/tkicb
|
|
|
|
do-install:
|
|
${INSTALL_SCRIPT} ${WRKSRC}/bin/tkicb ${DESTDIR}${PREFIX}/bin/tkicb
|
|
${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/libdata/tkicb
|
|
${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/libdata/tkicb/tcl
|
|
${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/libdata/tkicb/lib
|
|
${INSTALL_SCRIPT} ${WRKSRC}/icb.tcl \
|
|
${DESTDIR}${PREFIX}/libdata/tkicb/icb.tcl
|
|
${INSTALL_SCRIPT} ${WRKSRC}/tcl/*.tcl \
|
|
${DESTDIR}${PREFIX}/libdata/tkicb/tcl
|
|
${INSTALL_SCRIPT} ${WRKSRC}/lib/confuse ${WRKSRC}/lib/flirt \
|
|
${WRKSRC}/lib/servers ${DESTDIR}${PREFIX}/libdata/tkicb/lib
|
|
${INSTALL_SCRIPT} ${WRKSRC}/lib/* ${DESTDIR}${PREFIX}/libdata/tkicb/lib
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|