pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/jdebp-redo Support PKGMANDIR.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/2d443f3f8911
branches:  trunk
changeset: 399103:2d443f3f8911
user:      schmonz <schmonz%pkgsrc.org@localhost>
date:      Fri Aug 02 21:54:56 2019 +0000

description:
Support PKGMANDIR.

diffstat:

 devel/jdebp-redo/Makefile |  7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

diffs (21 lines):

diff -r a2073bf9d824 -r 2d443f3f8911 devel/jdebp-redo/Makefile
--- a/devel/jdebp-redo/Makefile Fri Aug 02 21:29:17 2019 +0000
+++ b/devel/jdebp-redo/Makefile Fri Aug 02 21:54:56 2019 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1 2019/07/20 21:18:59 schmonz Exp $
+# $NetBSD: Makefile,v 1.2 2019/08/02 21:54:56 schmonz Exp $
 
 DISTNAME=      redo-1.4
 PKGNAME=       jdebp-${DISTNAME}
@@ -16,6 +16,11 @@
 USE_LANGUAGES= c++
 USE_TOOLS+=    pod2man
 
+SUBST_CLASSES+=                pkgmandir
+SUBST_STAGE.pkgmandir= do-configure
+SUBST_FILES.pkgmandir= package/export
+SUBST_SED.pkgmandir=   -e 's|"man/man1|${PKGMANDIR}"/man1|g'
+
 do-configure:
        cd ${WRKSRC} && ./package/prepare
        ${ECHO} ${CXX:Q} > ${WRKSRC}/build/cxx



Home | Main Index | Thread Index | Old Index