pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/shellspec



Module Name:    pkgsrc
Committed By:   schmonz
Date:           Fri Apr 14 18:31:38 UTC 2023

Modified Files:
        pkgsrc/devel/shellspec: Makefile

Log Message:
Fix install on SmartOS.


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 pkgsrc/devel/shellspec/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/shellspec/Makefile
diff -u pkgsrc/devel/shellspec/Makefile:1.1 pkgsrc/devel/shellspec/Makefile:1.2
--- pkgsrc/devel/shellspec/Makefile:1.1 Tue Feb 14 21:26:29 2023
+++ pkgsrc/devel/shellspec/Makefile     Fri Apr 14 18:31:38 2023
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1 2023/02/14 21:26:29 schmonz Exp $
+# $NetBSD: Makefile,v 1.2 2023/04/14 18:31:38 schmonz Exp $
 
 DISTNAME=              shellspec-0.28.1
 CATEGORIES=            devel
@@ -16,7 +16,17 @@ SUBST_FILES.paths=   Makefile
 SUBST_VARS.paths=      PREFIX DESTDIR
 
 NO_BUILD=              yes
-INSTALL_ENV+=          PREFIX=${DESTDIR:Q}${PREFIX:Q}
+USE_TOOLS+=            pax
 TEST_TARGET=           test
 
+INSTALLATION_DIRS=     bin lib/shellspec
+
+do-install:
+       cd ${WRKSRC} && \
+       pax -rw lib ${DESTDIR}${PREFIX}/lib/shellspec/ && \
+       pax -rw libexec ${DESTDIR}${PREFIX}/lib/shellspec/ && \
+       ${INSTALL_SCRIPT} shellspec ${DESTDIR}${PREFIX}/lib/shellspec/ && \
+       ${INSTALL_DATA} LICENSE ${DESTDIR}${PREFIX}/lib/shellspec/LICENSE && \
+       ${INSTALL_SCRIPT} stub/shellspec ${DESTDIR}${PREFIX}/bin/
+
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index