blob: 10e8f34a9659895edbf8a34c60ec6630f38245a3 (
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
|
# New ports collection makefile for: upnp
# Date created: 02 August 2002
# Whom: Yen-Ming Lee <leeym@leeym.com>
#
# $FreeBSD$
#
PORTNAME= upnp
PORTVERSION= 1.0.4
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
DISTNAME= ${PORTNAME}sdk-${PORTVERSION}
MAINTAINER= leeym@FreeBSD.org
LIB_DEPENDS= uuid.1:${PORTSDIR}/sysutils/e2fsprogs
USE_GMAKE= yes
USE_REINPLACE= yes
MAKEFILE= makefile
MAKE_ENV= PTHREAD_LIBS=${PTHREAD_LIBS}
INSTALLS_SHLIB= yes
post-patch:
@cd ${WRKSRC} && ${REINPLACE_CMD} -e 's,MAKE = make,MAKE = ${GMAKE},' \
src/genlib/makefile src/makefile
@cd ${WRKSRC} && ${REINPLACE_CMD} -e 's,malloc.h,stdlib.h,' \
src/inc/genlib/client_table/client_table.h \
src/inc/genlib/http_client/http_client.h \
src/inc/genlib/service_table/service_table.h \
src/inc/genlib/timer_thread/timer_thread.h \
src/upnpdom/domCif.cpp
@cd ${WRKSRC} && ${REINPLACE_CMD} -e 's,MSG_NOSIGNAL,0,' \
src/genlib/http_client/http_client.c \
src/genlib/net/http/readwrite.cpp
.include <bsd.port.mk>
|