aboutsummaryrefslogtreecommitdiffstats
path: root/devel/libdict/Makefile
blob: 6f899f36c009ca7922faf34937c820c7335b2f52 (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: Alex Semenyaka <alex@rinet.ru>
# $FreeBSD$

PORTNAME=   libdict
PORTVERSION=    0.2.1
PORTREVISION=   1
CATEGORIES= devel
MASTER_SITES=   ${MASTER_SITE_LOCAL}
DISTFILES=  ${DISTNAME}${EXTRACT_SUFX}:source treap_insert.pdf:doc \
        avl_insert.pdf:doc empty.pdf:doc
EXTRACT_ONLY=   ${DISTNAME}${EXTRACT_SUFX}

MAINTAINER= rodrigo@bebik.net
COMMENT=    Library providing access to ``dictionary'' data structures

USE_GMAKE=  yes
MAKEFILE=   GNUmakefile
USE_LDCONFIG=   yes

NO_STAGE=   yes
post-extract:
.   for ___f in avl_insert.pdf empty.pdf treap_insert.pdf
    @${CP} ${DISTDIR}/${___f} ${WRKSRC}/
.   endfor

pre-install:
    -@${MKDIR} ${PREFIX}/include/
    -@${MKDIR} ${PREFIX}/lib/
.ifndef(NOPORTDOCS)
    -@${MKDIR} ${DOCSDIR}

post-install:
.   for ___f in avl_insert.pdf empty.pdf treap_insert.pdf
    @${CP} ${WRKSRC}/${___f} ${DOCSDIR}
.   endfor
.endif

.include <bsd.port.mk>