summaryrefslogtreecommitdiff
path: root/net/libmms/Makefile
blob: 9fe4eb8f6d462885163915fb8f079b33468b4653 (plain)
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
# $NetBSD: Makefile,v 1.1.1.1 2007/09/10 16:17:34 xtraeme Exp $
#

DISTNAME=	libmms-0.3
CATEGORIES=	net
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE:=libmms/}

MAINTAINER=	jfranz@bsdprojects.net
HOMEPAGE=	http://sourceforge.net/projects/libmms
COMMENT=	Library for parsing mms:// and mmsh:// type network streams

GNU_CONFIGURE=	yes
USE_LIBTOOL=	yes
USE_TOOLS+=	pkg-config

.include "../../mk/bsd.prefs.mk"

.if ${OPSYS} == "FreeBSD"
SUBST_CLASSES=		includes
SUBST_STAGE.includes=	post-patch
SUBST_FILES.includes=	src/uri.c
SUBST_SED.includes=	-e "s|malloc.h|stdlib.h|"
SUBST_MESSAGE.includes=	Replacing malloc.h with stdlib.h for FreeBSD.
.endif

PKGCONFIG_OVERRIDE+=	pkgconfig/libmms.pc.in

.include "../../devel/glib2/buildlink3.mk"
.include "../../devel/gettext-lib/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"