freebsd-ports/devel/klib/Makefile
2023-06-06 18:17:39 -07:00

28 lines
681 B
Makefile

PORTNAME= klib
DISTVERSION= g20210616
CATEGORIES= devel
MAINTAINER= yuri@FreeBSD.org
COMMENT= Standalone and lightweight C library
WWW= http://attractivechaos.github.io/klib
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
TEST_DEPENDS= check>0:devel/check
USE_GITHUB= yes
GH_ACCOUNT= attractivechaos
GH_TAGNAME= 9a063b3
NO_BUILD= yes
NO_ARCH= yes
PORTSCOUT= ignore:1 # only invalid tags like 'spawn-final' are present
do-install:
@${MKDIR} ${STAGEDIR}${PREFIX}/include/${PORTNAME}
${INSTALL_DATA} ${WRKSRC}/*.h ${WRKSRC}/*.c ${STAGEDIR}${PREFIX}/include/${PORTNAME}
cd ${WRKSRC} && ${COPYTREE_SHARE} cpp ${STAGEDIR}${PREFIX}/include/${PORTNAME}
.include <bsd.port.mk>