aboutsummaryrefslogtreecommitdiffstats
path: root/misc/e2fsprogs-libuuid/Makefile
blob: eb066c85a6aab465e9ab9dc44c9099fc289213f1 (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
# New ports collection makefile for:    e2fsprogs-libuuid
# Date created:             26 Jan 2006
# Whom:                 Matthias Andree <matthias.andree@gmx.de>
#
# $FreeBSD$
#

PORTREVISION=   0
CATEGORIES= misc devel
PKGNAMESUFFIX=  -libuuid

MAINTAINER= matthias.andree@gmx.de
COMMENT=    UUID library from e2fsprogs package

CONFIGURE_ARGS= --enable-elf-shlibs --disable-fsck --disable-e2initrd-helper

CONFLICTS=  ossp-uuid-[0-9]*

WITHOUT_NLS=    yes
MASTERDIR=  ${.CURDIR}/../../sysutils/e2fsprogs
MAKE_ARGS=  LIB_SUBDIRS=lib/uuid
INSTALLS_SHLIB= yes
NO_FILTER_SHLIBS=   yes
ALL_TARGET= libs
INSTALL_TARGET= install install-shlibs
INSTALL_WRKSRC= ${WRKSRC}/lib/uuid

MAN3=       uuid.3 uuid_clear.3 uuid_compare.3 uuid_copy.3 uuid_generate.3 \
        uuid_is_null.3 uuid_parse.3 uuid_time.3 uuid_unparse.3 \
        uuid_generate_random.3 uuid_generate_time.3

PKGDIR=     ${.CURDIR}

pre-build:
    ${MKDIR} ${WRKSRC}/lib/uuid/elfshared

post-build:
    cd ${INSTALL_WRKSRC} && ${MAKE} check

.include "${MASTERDIR}/Makefile"