6220a0aed4
Bump PKGREVISION for new libschily. New features with AN-2020-02-11: - libschily: new man pages starthandlecond.3 and unhandlecond.3 - libschily: handlecond.3 and raisecond.3 now correctly mention handlecond() & raisecond() instead of handle()/raise(). The old names from 1980 had to be renamed because os an unfriendly actt from the C standard commitee. Thanks to Eric Ackermann for reporting as a side effect of a code review for SchilliX-ON - libschily: various small fixes in various man pages from libschily. Thanks to Eric Ackermann for reporting as a side effect of a code review for SchilliX-ON
44 lines
1.3 KiB
Makefile
44 lines
1.3 KiB
Makefile
# $NetBSD: Makefile,v 1.7 2020/03/04 11:31:55 micha Exp $
|
|
|
|
DISTNAME= schily-2020-02-11
|
|
PKGNAME= smake-1.3
|
|
PKGREVISION= 9
|
|
CATEGORIES= devel
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=schilytools/}
|
|
EXTRACT_SUFX= .tar.bz2
|
|
|
|
MAINTAINER= micha@NetBSD.org
|
|
COMMENT= Highly portable UNIX make implementation
|
|
LICENSE= cddl-1.0
|
|
|
|
MAKE_JOBS_SAFE= no
|
|
MAKE_FLAGS+= GMAKE_NOWARN=true
|
|
|
|
USE_TOOLS+= gmake
|
|
MAKE_FLAGS+= DESTDIR=${DESTDIR} INS_BASE=${PREFIX} DEFMANBASE=. MANDIR=${PKGMANDIR}
|
|
# Honor CPPFLAGS, CFLAGS and LDFLAGS
|
|
MAKE_FLAGS+= CPPOPTX=${CPPFLAGS:Q} COPTX=${CFLAGS:Q} LDOPTX=${LDFLAGS:Q}
|
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
# Platform specific code (for sharing with other packages based on schilytools)
|
|
.include "Makefile.common"
|
|
|
|
SUBST_CLASSES+= man
|
|
SUBST_STAGE.man= pre-configure
|
|
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.
|
|
|
|
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"
|