1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-17 03:25:46 +00:00
freebsd-ports/devel/libds/Makefile
2021-04-06 16:31:07 +02:00

36 lines
975 B
Makefile

# Created by: Peter Bozarov (kingofgib@users.sourceforge.net)
PORTNAME= libds
PORTVERSION= 2.1
CATEGORIES= devel
MASTER_SITES= SF/libds/libds/libds-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= ANSI Generic Data Structures Library
LICENSE= BSD4CLAUSE
USE_LDCONFIG= yes
LLD_UNSAFE= yes # Needs linker to provide library search paths.
ALL_TARGET= gcc
HTML= avltree.html heap.html parray.html set.html \
hashtbl.html index.html queue.html stack.html
OPTIONS_DEFINE= DOCS
do-install:
${INSTALL_DATA} ${WRKSRC}/ds.h ${STAGEDIR}${PREFIX}/include
${INSTALL_DATA} ${WRKSRC}/libds.a ${STAGEDIR}${PREFIX}/lib
${INSTALL_LIB} ${WRKSRC}/libds.so ${STAGEDIR}${PREFIX}/lib/libds.so.1
${LN} -sf libds.so.1 ${STAGEDIR}${PREFIX}/lib/libds.so
${INSTALL_MAN} ${WRKSRC}/libds.3 ${STAGEDIR}${MANPREFIX}/man/man3
do-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
.for i in ${HTML}
${INSTALL_DATA} ${WRKSRC}/doc/${i} ${STAGEDIR}${DOCSDIR}
.endfor
.include <bsd.port.mk>