pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/smake



Module Name:    pkgsrc
Committed By:   ryoon
Date:           Sun Nov 21 14:09:19 UTC 2021

Modified Files:
        pkgsrc/devel/smake: Makefile

Log Message:
smake: Do not use custom do-build and do-install targets

* pkgsrc provides BUILD_DIRS and INSTALL_DIRS mechanisms not to
  write custom targets.


To generate a diff of this commit:
cvs rdiff -u -r1.19 -r1.20 pkgsrc/devel/smake/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/smake/Makefile
diff -u pkgsrc/devel/smake/Makefile:1.19 pkgsrc/devel/smake/Makefile:1.20
--- pkgsrc/devel/smake/Makefile:1.19    Wed Sep 29 13:29:29 2021
+++ pkgsrc/devel/smake/Makefile Sun Nov 21 14:09:19 2021
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.19 2021/09/29 13:29:29 micha Exp $
+# $NetBSD: Makefile,v 1.20 2021/11/21 14:09:19 ryoon Exp $
 
 DISTNAME=      schily-2021-09-18
 PKGNAME=       smake-1.6
@@ -31,15 +31,11 @@ SUBST_FILES.man=    smake/smake.1
 SUBST_SED.man=         -e "s,/opt/schily/share/lib/smake/defaults.smk,${PREFIX}/share/lib/smake/defaults.smk,g"
 SUBST_MESSAGE.man=     Fix path for default rules in manpage.
 
+BUILD_DIRS=    libschily
+BUILD_DIRS+=   smake
+INSTALL_DIRS=  smake
+
 do-configure:
        cd ${WRKSRC}/inc && ${MAKE_PROGRAM} ${MAKE_FLAGS}
 
-do-build:
-       cd ${WRKSRC}/libschily && ${MAKE_PROGRAM} ${MAKE_FLAGS}
-       cd ${WRKSRC}/smake && ${MAKE_PROGRAM} ${MAKE_FLAGS}
-
-# Documentation is in ${WRKSRC}/README.compile
-do-install:
-       cd ${WRKSRC}/smake && ${MAKE_PROGRAM} ${MAKE_FLAGS} install
-
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index