40 lines
1.1 KiB
Makefile
40 lines
1.1 KiB
Makefile
# $NetBSD: Makefile,v 1.22 2019/10/16 13:06:01 nia 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
|
|
|
|
TOOL_DEPENDS+= libxslt-[0-9]*:../../textproc/libxslt
|
|
|
|
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"
|