freebsd-ports/net/minissdpd/Makefile
Emanuel Haupt 012b1db727 Move manpage in the right man section.
PR:		141914
Submitted by:	Nikolai Saoukh <nms+bsd@otdel-1.org>
2009-12-23 09:44:35 +00:00

37 lines
809 B
Makefile

# New ports collection makefile for: minissdpd
# Date created: 20 Dec 2009
# Whom: Emanuel Haupt <ehaupt@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= minissdpd
PORTVERSION= 1.0
PORTREVISION= 3
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>