pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/jdebp-redo



Module Name:    pkgsrc
Committed By:   schmonz
Date:           Fri Aug  2 21:54:56 UTC 2019

Modified Files:
        pkgsrc/devel/jdebp-redo: Makefile

Log Message:
Support PKGMANDIR.


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 pkgsrc/devel/jdebp-redo/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/devel/jdebp-redo/Makefile
diff -u pkgsrc/devel/jdebp-redo/Makefile:1.1 pkgsrc/devel/jdebp-redo/Makefile:1.2
--- pkgsrc/devel/jdebp-redo/Makefile:1.1        Sat Jul 20 21:18:59 2019
+++ pkgsrc/devel/jdebp-redo/Makefile    Fri Aug  2 21:54:56 2019
@@ -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 @@ WRKSRC=              ${WRKDIR}
 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