mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-02 01:20:54 +00:00
34 lines
720 B
Makefile
34 lines
720 B
Makefile
# Created by: Emanuel Haupt <ehaupt@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= minissdpd
|
|
PORTVERSION= 1.2
|
|
CATEGORIES= net
|
|
MASTER_SITES= http://miniupnp.free.fr/files/ \
|
|
CRITICAL
|
|
|
|
MAINTAINER= ehaupt@FreeBSD.org
|
|
COMMENT= UPnP IGD discovery speed enhancer
|
|
|
|
USES= gmake
|
|
USE_RC_SUBR= minissdpd
|
|
|
|
CFLAGS+= -D_GNU_SOURCE
|
|
|
|
MAN8= minissdpd.8
|
|
PLIST_FILES= sbin/minissdpd
|
|
|
|
NO_STAGE= yes
|
|
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>
|