[BACK]Return to Makefile CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / devel / deforaos-libsystem

File: [cvs.NetBSD.org] / pkgsrc / devel / deforaos-libsystem / Makefile (download)

Revision 1.21, Wed Oct 9 01:58:55 2019 UTC (11 months, 2 weeks ago) by khorben
Branch: MAIN
Changes since 1.20: +7 -8 lines

Update devel/deforaos-libsystem to version 0.4.2

Among the changes upstream:
- re-licensing to the 2-clause BSD license
- improved build system
- extended Array and String API
- extended tests

This package no longer ships the API documentation; it will be included
in a separate package.

# $NetBSD: Makefile,v 1.21 2019/10/09 01:58:55 khorben Exp $
#

DISTNAME=	libSystem-0.4.2
PKGNAME=	deforaos-libsystem-0.4.2
CATEGORIES=	devel
MASTER_SITES=	https://ftp.defora.org/pub/DeforaOS/System/src/libSystem/

MAINTAINER=	khorben@defora.org
HOMEPAGE=	https://www.defora.org/
COMMENT=	DeforaOS core system library
LICENSE=	2-clause-bsd

MAKE_FLAGS+=	PREFIX=${PREFIX}
MAKE_FLAGS+=	DESTDIR=${DESTDIR}
MAKE_FLAGS+=	CFLAGS=${CFLAGS:Q}
MAKE_FLAGS+=	LDFLAGS=${LDFLAGS:Q}
MAKE_FLAGS+=	INSTALL=${INSTALL:Q}
AUTO_MKDIRS=	yes

#TEST_TARGET=	tests

.include "../../mk/bsd.prefs.mk"

.if ${PKGMANDIR} != "share/man"
post-install:
	${MV} ${DESTDIR}${PREFIX}/share/man/html1/configctl.html ${DESTDIR}${PREFIX}/${PKGMANDIR}/html1/configctl.html
	${MV} ${DESTDIR}${PREFIX}/share/man/man1/configctl.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/configctl.1
	${RMDIR} ${DESTDIR}${PREFIX}/share/man/html1
	${RMDIR} ${DESTDIR}${PREFIX}/share/man/man1
	${RMDIR} ${DESTDIR}${PREFIX}/share/man
.endif

REPLACE_SH=	tests/tests.sh

DL_AUTO_VARS=	yes
.include "../../mk/dlopen.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"