don't hardcode paths; rather use SUBST_CMD where appropriate.
PREFIX reminder and ok sthen@
This commit is contained in:
parent
699571c831
commit
75081ec6f2
@ -1,10 +1,11 @@
|
||||
# $OpenBSD: Makefile,v 1.42 2009/09/10 21:31:42 martynas Exp $
|
||||
# $OpenBSD: Makefile,v 1.43 2009/10/11 15:23:51 okan Exp $
|
||||
|
||||
SHARED_ONLY= Yes
|
||||
|
||||
COMMENT= modular IRC client with many features (ipv6,socks,proxy)
|
||||
|
||||
DISTNAME= irssi-0.8.14
|
||||
PKGNAME= ${DISTNAME}p0
|
||||
CATEGORIES= net
|
||||
|
||||
HOMEPAGE= http://www.irssi.org/
|
||||
@ -51,8 +52,7 @@ FAKE_FLAGS= confdir="${PREFIX}/share/examples/irssi" \
|
||||
themedir="${PREFIX}/share/examples/irssi/themes"
|
||||
|
||||
pre-configure:
|
||||
@perl -pi -e "s,!!LOCALBASE!!,${LOCALBASE},g;" \
|
||||
-e "s,!!SYSCONFDIR!!,${SYSCONFDIR},g" ${WRKSRC}/docs/irssi.1
|
||||
${SUBST_CMD} ${WRKSRC}/docs/irssi.1
|
||||
|
||||
post-install:
|
||||
@rm -rf ${PREFIX}/include
|
||||
|
@ -1,4 +1,4 @@
|
||||
$OpenBSD: patch-docs_irssi_1,v 1.3 2008/12/22 19:40:33 matthieu Exp $
|
||||
$OpenBSD: patch-docs_irssi_1,v 1.4 2009/10/11 15:23:51 okan Exp $
|
||||
--- docs/irssi.1.orig Sat Oct 6 11:38:21 2007
|
||||
+++ docs/irssi.1 Wed Dec 3 22:58:13 2008
|
||||
@@ -65,10 +65,10 @@ display brief usage message.
|
||||
@ -6,11 +6,11 @@ $OpenBSD: patch-docs_irssi_1,v 1.3 2008/12/22 19:40:33 matthieu Exp $
|
||||
.B Irssi
|
||||
has been supplied with a huge amount of documentation. Check /help or look
|
||||
-at the files contained by /usr/share/doc/irssi*
|
||||
+at the files contained by /usr/local/share/irssi/* and /usr/local/share/doc/irssi/*
|
||||
+at the files contained by ${PREFIX}/share/irssi/* and ${PREFIX}/share/doc/irssi/*
|
||||
.SH FILES
|
||||
.TP
|
||||
-.I /etc/irssi.conf
|
||||
+.I /etc/irssi/irssi.conf
|
||||
+.I ${SYSCONFDIR}/irssi/irssi.conf
|
||||
Global configuration file
|
||||
.TP
|
||||
.I ~/.irssi/config
|
||||
@ -20,20 +20,20 @@ $OpenBSD: patch-docs_irssi_1,v 1.3 2008/12/22 19:40:33 matthieu Exp $
|
||||
.TP
|
||||
-.I /usr/share/irssi/help/
|
||||
-Directory including many help files
|
||||
+.I /usr/local/share/irssi/help/
|
||||
+.I ${PREFIX}/share/irssi/help/
|
||||
+.RS .3
|
||||
+.I /usr/local/share/doc/irssi/
|
||||
+.I ${PREFIX}/share/doc/irssi/
|
||||
+.RE
|
||||
+.RS
|
||||
+Directories including many help files
|
||||
+.RE
|
||||
.TP
|
||||
-.I /usr/share/irssi/scripts/
|
||||
+.I /etc/irssi/scripts/
|
||||
+.I ${SYSCONFDIR}/irssi/scripts/
|
||||
Global scripts directory
|
||||
.TP
|
||||
-.I /usr/share/irssi/themes/
|
||||
+.I /etc/irssi/themes/
|
||||
+.I ${SYSCONFDIR}/irssi/themes/
|
||||
Global themes directory
|
||||
.TP
|
||||
.I ~/.irssi/scripts/
|
||||
|
Loading…
Reference in New Issue
Block a user