aboutsummaryrefslogtreecommitdiffstats
path: root/net/minissdpd/Makefile
blob: 42ab0d6b71acde62722e69b0de51f7a696172aa8 (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
# New ports collection makefile for:    minissdpd
# Date created:             20 Dec 2009
# Whom:                 Emanuel Haupt <ehaupt@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=   minissdpd
PORTVERSION=    1.0
PORTREVISION=   1
CATEGORIES= net
MASTER_SITES=   http://miniupnp.free.fr/files/ \
        CRITICAL

MAINTAINER= ehaupt@FreeBSD.org
COMMENT=    UPnP IGD discovery speed ehancer

USE_RC_SUBR=    minissdpd
MAKE_JOBS_SAFE= yes

CFLAGS+=    -D_GNU_SOURCE

PLIST_FILES=    sbin/minissdpd

post-patch:
    @${REINPLACE_CMD} -E '/^(CC|CFLAGS)/d' ${WRKSRC}/Makefile

do-install:
    ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/sbin

.include <bsd.port.mk>