summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorscole <scole@pkgsrc.org>2018-12-05 18:40:14 +0000
committerscole <scole@pkgsrc.org>2018-12-05 18:40:14 +0000
commit6ff737c9147271e213db32cb3392497667ff91d6 (patch)
treec5737ca441bc9589ad3776a93af219549cea92c2
parentc2e50ac08c30c30f01be4600d59ea1dc39421e37 (diff)
downloadpkgsrc-6ff737c9147271e213db32cb3392497667ff91d6.tar.gz
PR pkg/53761
adjust runtime paths
-rw-r--r--chat/quirc/Makefile17
-rw-r--r--chat/quirc/PLIST6
2 files changed, 18 insertions, 5 deletions
diff --git a/chat/quirc/Makefile b/chat/quirc/Makefile
index f0bce238503..6b78dc05a61 100644
--- a/chat/quirc/Makefile
+++ b/chat/quirc/Makefile
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.30 2018/07/04 13:40:11 jperkin Exp $
+f# $NetBSD: Makefile,v 1.31 2018/12/05 18:40:14 scole Exp $
#
DISTNAME= quirc-0.9.84
-PKGREVISION= 9
+PKGREVISION= 10
CATEGORIES= chat
#MASTER_SITES= http://quirc.org/
@@ -26,9 +26,22 @@ SUBST_SED.T86= -e 's,8_3,8_6,g'
SUBST_SED.T86+= -e 's,8.3,8.6,g'
SUBST_SED.T86+= -e 's,83,86,g'
+INSTALLATION_DIRS= bin
+INSTALLATION_DIRS+= share/doc/quirc
+INSTALLATION_DIRS+= share/quirc
+INSTALLATION_DIRS+= share/quirc/common
+INSTALLATION_DIRS+= share/quirc/themes
+
pre-configure:
cd ${WRKSRC} && autoreconf -i
+# move default.tcl to themes/default.tcl and install to common/install.tcl
+post-install:
+ ${MV} ${DESTDIR}${PREFIX}/share/quirc/default.tcl \
+ ${DESTDIR}${PREFIX}/share/quirc/themes
+ ${MV} ${DESTDIR}${PREFIX}/share/quirc/install.tcl \
+ ${DESTDIR}${PREFIX}/share/quirc/common
+
BUILDLINK_DEPMETHOD.libXt?= build
CPPFLAGS+= -DUSE_INTERP_RESULT
diff --git a/chat/quirc/PLIST b/chat/quirc/PLIST
index 937555b6ec5..8dcfd0fb7c6 100644
--- a/chat/quirc/PLIST
+++ b/chat/quirc/PLIST
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.3 2009/06/14 17:37:49 joerg Exp $
+@comment $NetBSD: PLIST,v 1.4 2018/12/05 18:40:14 scole Exp $
bin/quirc
share/doc/quirc/AUTHORS
share/doc/quirc/COPYING
@@ -14,13 +14,13 @@ share/doc/quirc/quedit.txt
share/doc/quirc/rfc1459.txt
share/quirc/VERSION
share/quirc/dal.tcl
-share/quirc/default.tcl
+share/quirc/themes/default.tcl
share/quirc/doc.tcl
share/quirc/fontsel
share/quirc/fun.tcl
share/quirc/global.tcl
share/quirc/info.tcl
-share/quirc/install.tcl
+share/quirc/common/install.tcl
share/quirc/listfile.tcl
share/quirc/mircservers.tcl
share/quirc/newserver.tcl