pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/smake smake: Do not use custom do-build and do-i...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/453a794ad237
branches:  trunk
changeset: 769866:453a794ad237
user:      ryoon <ryoon%pkgsrc.org@localhost>
date:      Sun Nov 21 14:09:19 2021 +0000

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

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

diffstat:

 devel/smake/Makefile |  14 +++++---------
 1 files changed, 5 insertions(+), 9 deletions(-)

diffs (29 lines):

diff -r 33f3a1a6165d -r 453a794ad237 devel/smake/Makefile
--- a/devel/smake/Makefile      Sun Nov 21 13:30:15 2021 +0000
+++ b/devel/smake/Makefile      Sun Nov 21 14:09:19 2021 +0000
@@ -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_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