aboutsummaryrefslogtreecommitdiffstats
path: root/devel/libublio/Makefile
blob: 2b5db3305faedc042a55e29ad2c1804966cd4320 (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: alepulver
# $FreeBSD$

PORTNAME=   libublio
PORTVERSION=    20070103
CATEGORIES= devel
MASTER_SITES=   ${MASTER_SITE_LOCAL}
MASTER_SITE_SUBDIR= mandree

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

USE_LDCONFIG=   yes

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

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

NEED_ROOT=  yes

.include <bsd.port.options.mk>

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

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

post-install:
.if ${PORT_OPTIONS:MDOCS}
    ${MKDIR} ${STAGEDIR}${DOCSDIR}
    ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
.endif

.include <bsd.port.mk>