aboutsummaryrefslogtreecommitdiffstats
path: root/audio/daaplib/Makefile
blob: 8fd494855bedd6ef165c4ce63cfedb9dba60a646 (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
# New ports collection makefile for:    daaplib
# Date created:             19 October 2003
# Whom:                 Lars Thegler <lars@thegler.dk>
#
# $FreeBSD$
#

PORTNAME=   daaplib
PORTVERSION=    0.1.1a
CATEGORIES= audio
MASTER_SITES=   http://www.deleet.de/projekte/daap/daaplib/
DISTNAME=   ${PORTNAME}.${PORTVERSION}

MAINTAINER= lars@thegler.dk
COMMENT=    A C++ library for DAAP memory streams

USE_ZIP=    yes
USE_GMAKE=  yes
USE_REINPLACE=  yes
WRKSRC=     ${WRKDIR}/${DISTNAME}/daaplib/src
MAKEFILE=   makefile
ALL_TARGET=

post-patch:
    @${REINPLACE_CMD} -e 's|/usr/local|${PREFIX}|g' ${WRKSRC}/${MAKEFILE}

.if !defined(NOPORTDOCS)
post-install:
    @${MKDIR} ${DOCSDIR}
    @${INSTALL_DATA} ${WRKDIR}/${DISTNAME}/README ${DOCSDIR}
.endif

.include <bsd.port.mk>