aboutsummaryrefslogtreecommitdiffstats
path: root/audio/libworkman/Makefile
blob: a76672501b5b4e8f5cb914a21d46f09c943cd6f2 (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
# Created by: Jim Mock <jim@FreeBSD.org>
# $FreeBSD$

PORTNAME=   libworkman
PORTVERSION=    1.4
PORTREVISION=   3
CATEGORIES= audio
MASTER_SITES=   LOCAL/jim
DISTNAME=   ${PORTNAME}-1999-06-20

MAINTAINER= ports@FreeBSD.org
COMMENT=    Workman library required by some audio apps

LICENSE=    LGPL20+
LICENSE_FILE=   ${WRKSRC}/COPYING.LIB

USES=       imake
WRKSRC=     ${WRKDIR}/libworkman
USE_LDCONFIG=   yes
CFLAGS+=    -fPIC

post-patch:
    @${REINPLACE_CMD} -e \
        's|^DESTDIR=.*|DESTDIR=${STAGEDIR}| ; \
         s|=include/workman|=$$(INCROOT)/workman| ; \
         s|^LIBDIR|XCOMM LIBDIR|' ${WRKSRC}/Config

post-install:
    ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/${PORTNAME}.so

.include <bsd.port.mk>