1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-17 08:01:36 +00:00
freebsd-ports/net/minissdpd/Makefile
2011-08-12 13:54:20 +00:00

37 lines
793 B
Makefile

# New ports collection makefile for: minissdpd
# Date created: 20 Dec 2009
# Whom: Emanuel Haupt <ehaupt@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= minissdpd
PORTVERSION= 1.1
CATEGORIES= net
MASTER_SITES= http://miniupnp.free.fr/files/ \
CRITICAL
MAINTAINER= ehaupt@FreeBSD.org
COMMENT= UPnP IGD discovery speed enhancer
USE_RC_SUBR= minissdpd
MAKE_JOBS_SAFE= yes
CFLAGS+= -D_GNU_SOURCE
MAN8= minissdpd.8
PLIST_FILES= sbin/minissdpd
post-extract:
@${MV} ${WRKSRC}/${PORTNAME}.1 ${WRKSRC}/${MAN8}
post-patch:
@${REINPLACE_CMD} -e 's|^\(\.TH.*\)1|\18|' ${WRKSRC}/${MAN8}
@${REINPLACE_CMD} -E '/^(CC|CFLAGS)/d' ${WRKSRC}/Makefile
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/sbin
${INSTALL_MAN} ${WRKSRC}/${MAN8} ${MANPREFIX}/man/man8
.include <bsd.port.mk>