aboutsummaryrefslogtreecommitdiffstats
path: root/devel/libghthash/Makefile
blob: 5c5670c72d0ff8f1e67fecf0cc415dc4cf9c910b (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
45
# Created by: ijliao
# $FreeBSD$

PORTNAME=   libghthash
PORTVERSION=    0.6.2
PORTREVISION=   5
CATEGORIES= devel
MASTER_SITES=   http://www.ipd.bth.se/ska/sim_home/filer/

MAINTAINER= ports@FreeBSD.org
COMMENT=    Generic Hash Table

OPTIONS_DEFINE= DOCS EXAMPLES

USES=       libtool
GNU_CONFIGURE=  yes
USE_AUTOTOOLS=  aclocal autoheader automake autoconf libtoolize
AUTOMAKE_ARGS=  -a -c -f
USE_LDCONFIG=   yes

PLIST_FILES=    include/ght_hash_table.h \
        lib/libghthash.a \
        lib/libghthash.so \
        lib/libghthash.so.1 \
        lib/libghthash.so.1.1.0 \
        man/man3/ght_create.3.gz \
        man/man3/ght_finalize.3.gz \
        man/man3/ght_first.3.gz \
        man/man3/ght_first_keysize.3.gz \
        man/man3/ght_get.3.gz \
        man/man3/ght_insert.3.gz \
        man/man3/ght_next.3.gz \
        man/man3/ght_next_keysize.3.gz \
        man/man3/ght_remove.3.gz

PORTDOCS=   *
PORTEXAMPLES=   *

post-install:
    @${MKDIR} ${STAGEDIR}${DOCSDIR}
    (cd ${WRKSRC}/html && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR})
    @${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
    (cd ${WRKSRC}/examples && ${COPYTREE_SHARE} \*.c ${STAGEDIR}${EXAMPLESDIR})

.include <bsd.port.mk>