aboutsummaryrefslogtreecommitdiffstats
path: root/devel/libvolume_id/Makefile
blob: 0658217f58065dc44be6f5ac55ebf01a7d1bda87 (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
# New ports collection makefile for:    libvolume_id
# Date created:     04 November 2006
# Whom:         Joe Marcus Clarke <marcus@FreeBSD.org>
#
# $FreeBSD$

PORTNAME=   libvolume_id
PORTVERSION=    0.75.0
PORTREVISION=   1
CATEGORIES= devel
MASTER_SITES=   http://www.marcuscom.com/downloads/

MAINTAINER= gnome@FreeBSD.org
COMMENT=    Library to provide file system type information

USE_BZIP2=  yes
USE_GMAKE=  yes
USE_GNOME=  pkgconfig
USE_LDCONFIG=   yes
MAKE_ENV=   E=${ECHO_MSG} RANLIB=${RANLIB} AR=${AR} Q=@ \
        CC=${CC} prefix=${PREFIX}

PLIST_FILES=    include/libvolume_id.h \
        lib/libvolume_id.a \
        lib/libvolume_id.so \
        lib/libvolume_id.so.0 \
        libdata/pkgconfig/libvolume_id.pc

.include <bsd.port.pre.mk>

do-install:
    ${MKDIR} ${PREFIX}/libdata/pkgconfig
    ${INSTALL_DATA} ${WRKSRC}/libvolume_id.pc ${PREFIX}/libdata/pkgconfig/libvolume_id.pc
    ${INSTALL_DATA} ${WRKSRC}/libvolume_id.h ${PREFIX}/include/libvolume_id.h
    ${INSTALL_DATA} ${WRKSRC}/libvolume_id.a ${PREFIX}/lib/libvolume_id.a
    ${INSTALL_PROGRAM} ${WRKSRC}/libvolume_id.so.0 ${PREFIX}/lib/libvolume_id.so.0
    ${LN} -sf ${PREFIX}/lib/libvolume_id.so.0 ${PREFIX}/lib/libvolume_id.so

.include <bsd.port.post.mk>