aboutsummaryrefslogtreecommitdiffstats
path: root/devel/libublio/Makefile
blob: 8452592f0ed3a23c79acb686e78f666d497d6e51 (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
46
47
48
# Created by: alepulver
# $FreeBSD$

PORTNAME=   libublio
PORTVERSION=    20070103
PORTREVISION=   2
CATEGORIES= devel
MASTER_SITES=   LOCAL/mandree

MAINTAINER= mandree@FreeBSD.org
COMMENT=    User space caching library

LICENSE=    BSD2CLAUSE

USE_LDCONFIG=   yes

.if defined(NO_PROFILE) || defined(NOPROFILE) || defined(WITHOUT_PROFILE)
PLIST_SUB+= PROFLIB="@comment "
.else
PLIST_SUB+= PROFLIB=""
.endif

USES=       uidfix

SRCCONF=    /dev/null
MAKE_ENV+=  SRCCONF=${SRCCONF}

SUB_FILES=  libublio.pc
SUB_LIST=   PREFIX=${PREFIX} PORTVERSION=${PORTVERSION}

OPTIONS_DEFINE= DOCS

post-extract:
    @${CP} ${FILESDIR}/${MAKEFILE} ${WRKSRC}

# this pre-install is only for debugging pointyhat failures
pre-install:
    @${ECHO_CMD} "===> Environment:"
    @${SETENV} | ${SORT} -f
    @${ECHO_CMD} "===> Makefiles used:"
    @${ECHO_CMD} ${.MAKEFILE_LIST}

post-install:
    @${MKDIR} ${STAGEDIR}${DOCSDIR}
    ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
    ${INSTALL_DATA} ${WRKDIR}/libublio.pc ${STAGEDIR}${PREFIX}/libdata/pkgconfig/

.include <bsd.port.mk>