5393242c73
Performing substitutions during post-patch breaks tools such as mkpatches, making it very difficult to regenerate correct patches after making changes, and often leading to substituted string replacements being committed.
42 lines
1.4 KiB
Makefile
42 lines
1.4 KiB
Makefile
# $NetBSD: Makefile,v 1.16 2018/07/04 13:40:11 jperkin Exp $
|
|
|
|
DISTNAME= tkirc2.46
|
|
PKGNAME= tkirc2-2.46
|
|
PKGREVISION= 2
|
|
CATEGORIES= chat x11
|
|
MASTER_SITES= # ftp://ftp.netsplit.de/pub/tcltk/
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= http://netsplit.de/tkirc2/
|
|
COMMENT= GUI for the ircII Internet Relay Chat client
|
|
|
|
DEPENDS+= ircII-[0-9]*:../../chat/ircII
|
|
DEPENDS+= tk>=8.3.2:../../x11/tk
|
|
|
|
WRKSRC= ${WRKDIR}/tkirc2
|
|
NO_CONFIGURE= yes
|
|
NO_BUILD= yes
|
|
|
|
SUBST_CLASSES+= paths
|
|
SUBST_MESSAGE.paths= Fixing hardcoded command names.
|
|
SUBST_STAGE.paths= pre-configure
|
|
SUBST_FILES.paths= tkirc2
|
|
SUBST_SED.paths= -e 's,wish8.3,wish,g'
|
|
|
|
INSTALLATION_DIRS= bin
|
|
|
|
do-install:
|
|
${INSTALL_SCRIPT} ${WRKSRC}/tkirc2 ${DESTDIR}${PREFIX}/bin
|
|
${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/doc/tkirc2
|
|
${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/examples/tkirc2/scripts
|
|
${INSTALL_DATA} ${WRKSRC}/README ${DESTDIR}${PREFIX}/share/doc/tkirc2
|
|
${INSTALL_DATA} ${WRKSRC}/CHANGES ${DESTDIR}${PREFIX}/share/doc/tkirc2
|
|
${INSTALL_DATA} ${WRKSRC}/COPYING ${DESTDIR}${PREFIX}/share/doc/tkirc2
|
|
${INSTALL_SCRIPT} ${WRKSRC}/.tkirc2/scripts/* \
|
|
${DESTDIR}${PREFIX}/share/examples/tkirc2/scripts
|
|
${INSTALL_DATA} ${WRKSRC}/.tkirc2/netscape.sh \
|
|
${DESTDIR}${PREFIX}/share/examples/tkirc2
|
|
${INSTALL_DATA} ${WRKSRC}/.tkirc2/tkircrc-example \
|
|
${DESTDIR}${PREFIX}/share/examples/tkirc2
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|