blob: e7fef09c40e7a2a5bb926e395b1f6c84a2505249 (
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
39
40
41
42
43
44
|
# Created by: Peter Bozarov (kingofgib@users.sourceforge.net)
# $FreeBSD$
PORTNAME= libds
PORTVERSION= 1.0
CATEGORIES= devel
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-2.1
DISTNAME= libds-2.1
MAINTAINER= ports@FreeBSD.org
COMMENT= ANSI Generic Data Structures Library
USE_LDCONFIG= yes
ALL_TARGET= gcc
NO_STAGE= yes
.include <bsd.port.pre.mk>
MAN3= libds.3
HTML= avltree.html heap.html parray.html set.html hashtbl.html \
index.html queue.html stack.html
# Copy header file and libraries.
do-install:
${INSTALL_DATA} ${WRKSRC}/ds.h ${PREFIX}/include
${INSTALL_DATA} ${WRKSRC}/libds.a ${PREFIX}/lib
${INSTALL_DATA} ${WRKSRC}/libds.so ${PREFIX}/lib/libds.so.1
# Make symbolic link to the shared library
# Install man pages.
# Install HTML pages.
post-install:
${LN} -sf ${PREFIX}/lib/libds.so.1 ${PREFIX}/lib/libds.so
.for i in ${MAN3}
${INSTALL_MAN} ${WRKSRC}/${i} ${PREFIX}/man/man3/${i}
.endfor
.if !defined(NOPORTDOCS)
${MKDIR} ${PREFIX}/share/doc/libds
.for i in ${HTML}
${INSTALL_DATA} ${WRKSRC}/doc/${i} ${PREFIX}/share/doc/libds/${i}
.endfor
.endif
.include <bsd.port.post.mk>
|