aboutsummaryrefslogtreecommitdiffstats
path: root/devel/libaura/Makefile
blob: a5ebde8a959509385e5700542b4652bbff0bb2f6 (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: Andrew Turner <andrew+ports@fubar.geek.nz>
# $FreeBSD$

PORTNAME=   libaura
PORTVERSION=    3.1.20051222
CATEGORIES= devel
MASTER_SITES=   ${MASTER_SITE_LOCAL}
MASTER_SITE_SUBDIR= philip

MAINTAINER= rodrigo@bebik.net
COMMENT=    Library of Assorted Useful Reusable Abstractions

USE_BZIP2=  yes
USE_LDCONFIG=   yes

SONAME=     ${SOLINK}.3
SOLINK=     ${PORTNAME}3.so

PLIST_FILES=    lib/${SONAME} \
        lib/${SOLINK} \
        include/aura3/buffer.h \
        include/aura3/dict.h \
        include/aura3/popen.h \
        include/aura3/fspred.h \
        include/aura3/mem.h
PLIST_DIRS= include/aura3
PORTDOCS=   README

MAKE_ENV=   SONAME=${SONAME} SOLINK=${SOLINK}

do-install:
    ${INSTALL_PROGRAM} ${WRKSRC}/${SONAME} ${PREFIX}/lib/${SONAME}
    ${LN} -s ${PREFIX}/lib/${SONAME} ${PREFIX}/lib/${SOLINK}
    ${MKDIR} ${PREFIX}/include/aura3/
    ${INSTALL_DATA} ${WRKSRC}/buffer.h ${PREFIX}/include/aura3/
    ${INSTALL_DATA} ${WRKSRC}/dict.h ${PREFIX}/include/aura3/
    ${INSTALL_DATA} ${WRKSRC}/popen.h ${PREFIX}/include/aura3/
    ${INSTALL_DATA} ${WRKSRC}/fspred.h ${PREFIX}/include/aura3/
    ${INSTALL_DATA} ${WRKSRC}/mem.h ${PREFIX}/include/aura3/
.if !defined(NOPORTDOCS)
    ${MKDIR} ${DOCSDIR}
    ${INSTALL_MAN} ${WRKSRC}/README ${DOCSDIR}
.endif

.include <bsd.port.mk>