aboutsummaryrefslogtreecommitdiffstats
path: root/audio/libtremor/Makefile
blob: 1f267d354341606f3dff6590e3d8064b54c08870 (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
# New ports collection makefile for:    libtremor
# Date created:             07 December 2003
# Whom:                 kwm@rainbow-runner.nl
#
# $FreeBSD$
#

PORTNAME=   libtremor
PORTVERSION=    1.0.2.${SNAP_DATE}
PORTREVISION=   2
CATEGORIES= audio
MASTER_SITES=   http://members.chello.nl/~g.mast/distfiles/
DISTNAME=   tremor_snapshot_${SNAP_DATE}
EXTRACT_SUFX=   .tgz

MAINTAINER= ports@FreeBSD.org
COMMENT=    Integer-only fully Ogg Vorbis compliant decoder library

SNAP_DATE=  02132004
WRKSRC=     ${WRKDIR}/Tremor
USE_AUTOTOOLS=  automake:111 autoconf:268 libtool:22
GNU_CONFIGURE=  yes
USE_LDCONFIG=   yes

pre-configure:
    @cd ${WRKSRC} && ${ACLOCAL}
    @cd ${WRKSRC} && ${LIBTOOLIZE} --automake
    @${REINPLACE_CMD} -e '/^_LT_AC_SHELL_INIT/d' ${WRKSRC}/aclocal.m4
    @cd ${WRKSRC} && ${AUTOMAKE} --add-missing
    @cd ${WRKSRC} && ${AUTOCONF}

do-install:
    for i in ${WRKSRC}/.libs/libvorbisidec.so.1     \
            ${WRKSRC}/.libs/libvorbisidec.so    \
            ${WRKSRC}/.libs/libvorbisidec.a ; do    \
        ${INSTALL_SCRIPT} $$i ${PREFIX}/lib ;       \
    done
    @${MKDIR} ${PREFIX}/include/tremor
    for i in ${WRKSRC}/config_types.h           \
            ${WRKSRC}/ivorbiscodec.h        \
            ${WRKSRC}/ivorbisfile.h         \
            ${WRKSRC}/ogg.h             \
            ${WRKSRC}/os_types.h ; do       \
        ${INSTALL_SCRIPT} $$i ${PREFIX}/include/tremor ; \
    done

.include <bsd.port.mk>