use SUBST_CMD; no package change
This commit is contained in:
parent
0c8b354c27
commit
c89a73b64e
@ -1,4 +1,4 @@
|
||||
# $OpenBSD: Makefile,v 1.18 2015/02/16 22:57:10 naddy Exp $
|
||||
# $OpenBSD: Makefile,v 1.19 2015/09/18 19:24:09 jasper Exp $
|
||||
|
||||
COMMENT= LiveJournal client for Python
|
||||
|
||||
@ -21,12 +21,10 @@ NO_TEST= Yes
|
||||
DOCSDIR= ${PREFIX}/share/doc/charm
|
||||
|
||||
post-configure:
|
||||
@perl -pi -e 's|%%PREFIX%%|${PREFIX}|g' \
|
||||
${WRKSRC}/charm.1 \
|
||||
${WRKSRC}/charmrc.5
|
||||
${SUBST_CMD} ${WRKSRC}/charm.1 ${WRKSRC}/charmrc.5
|
||||
|
||||
post-install:
|
||||
${INSTALL_DATA_DIR} ${DOCSDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/README.charm ${DOCSDIR}/README
|
||||
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -1,4 +1,4 @@
|
||||
$OpenBSD: patch-charm_1,v 1.1 2005/07/01 06:55:49 xsa Exp $
|
||||
$OpenBSD: patch-charm_1,v 1.2 2015/09/18 19:24:09 jasper Exp $
|
||||
--- charm.1.orig Mon Jun 13 23:20:22 2005
|
||||
+++ charm.1 Fri Jul 1 08:44:16 2005
|
||||
@@ -245,7 +245,7 @@ The default location of the charmrc file
|
||||
@ -6,7 +6,7 @@ $OpenBSD: patch-charm_1,v 1.1 2005/07/01 06:55:49 xsa Exp $
|
||||
.SH MANUAL
|
||||
There is a full manual for Charm. It can usually be found in
|
||||
-.B /usr/share/doc/charm/charm.html
|
||||
+.B %%PREFIX%%/share/doc/charm/charm.html
|
||||
+.B ${PREFIX}/share/doc/charm/charm.html
|
||||
|
||||
.SH SEE ALSO
|
||||
charmrc(5)
|
||||
|
@ -1,4 +1,4 @@
|
||||
$OpenBSD: patch-charmrc_5,v 1.1 2005/07/01 06:55:49 xsa Exp $
|
||||
$OpenBSD: patch-charmrc_5,v 1.2 2015/09/18 19:24:09 jasper Exp $
|
||||
--- charmrc.5.orig Mon Jun 13 23:20:22 2005
|
||||
+++ charmrc.5 Fri Jul 1 08:44:03 2005
|
||||
@@ -190,11 +190,11 @@ journal, or put all archived posts under
|
||||
@ -6,12 +6,12 @@ $OpenBSD: patch-charmrc_5,v 1.1 2005/07/01 06:55:49 xsa Exp $
|
||||
.SH EXAMPLES
|
||||
There is an example charmrc file. It can usually be found in
|
||||
-.B /usr/share/doc/charm/sample.charmrc
|
||||
+.B %%PREFIX%%/share/examples/charm/sample.charmrc
|
||||
+.B ${PREFIX}/share/examples/charm/sample.charmrc
|
||||
|
||||
.SH MANUAL
|
||||
There is a full manual for Charm. It can usually be found in
|
||||
-.B /usr/share/doc/charm/charm.html
|
||||
+.B %%PREFIX%%/share/doc/charm/charm.html
|
||||
+.B ${PREFIX}/share/doc/charm/charm.html
|
||||
|
||||
.SH SEE ALSO
|
||||
charm(1)
|
||||
|
Loading…
Reference in New Issue
Block a user