blob: 93a3b1764cb2bb63fd71b0383cecd271ef7a6750 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
# Created by: Peter Bozarov (kingofgib@users.sourceforge.net)
# $FreeBSD$
PORTNAME= libds
PORTVERSION= 1.0
PORTREVISION= 1
CATEGORIES= devel
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-2.1
DISTNAME= libds-2.1
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>
|