pkgsrc-Changes archive

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

CVS commit: pkgsrc/print/py-pspdfutils



Module Name:    pkgsrc
Committed By:   jperkin
Date:           Thu Jun 22 11:19:31 UTC 2023

Modified Files:
        pkgsrc/print/py-pspdfutils: Makefile

Log Message:
py-pspdfutils: Fix bogus PKGMANDIR assumption.


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 pkgsrc/print/py-pspdfutils/Makefile

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

Modified files:

Index: pkgsrc/print/py-pspdfutils/Makefile
diff -u pkgsrc/print/py-pspdfutils/Makefile:1.5 pkgsrc/print/py-pspdfutils/Makefile:1.6
--- pkgsrc/print/py-pspdfutils/Makefile:1.5     Thu Jun 15 19:48:06 2023
+++ pkgsrc/print/py-pspdfutils/Makefile Thu Jun 22 11:19:31 2023
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.5 2023/06/15 19:48:06 adam Exp $
+# $NetBSD: Makefile,v 1.6 2023/06/22 11:19:31 jperkin Exp $
 
 DISTNAME=      pspdfutils-3.0.4
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
@@ -31,7 +31,9 @@ DEPENDS+=     ${PYPKGPREFIX}-typing-extensio
 CONFLICTS+=    psutils<3
 
 post-install:
+.if ${PKGMANDIR} != "share/man"
        cd ${DESTDIR}${PREFIX}/share/man && ${MV} * ${DESTDIR}${PREFIX}/${PKGMANDIR}
+.endif
 
 # still needs 'make install'
 TEST_ENV+=     PYTHONPATH=${WRKSRC}/build/lib



Home | Main Index | Thread Index | Old Index