1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-26 00:55:14 +00:00
freebsd-ports/net/samplicator/Makefile
Mark Felder 49748d6df2 Overhaul of rc script which was non-functional
Most notable change is the renaming of $samplicator_user to
$samplicator_runas. The reasoning is that the usage of daemon(8) and
$name_user does not mix well; it resulted in the following:

_doit='su -m $name_user -c '\''sh -c "/usr/sbin/daemon -u $name_user ..."

This defeats the purpose of daemon which has to be launched as root.

Sponsored by:	SupraNet Communications, Inc
2014-05-19 13:04:08 +00:00

35 lines
733 B
Makefile

# $FreeBSD$
PORTNAME= samplicator
PORTVERSION= 1.3.7.b6
PORTREVISION= 2
CATEGORIES= net
MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE}
MASTER_SITE_SUBDIR= samplicator
DISTNAME= samplicator-1.3.7-beta6
MAINTAINER= me@falz.net
COMMENT= Receives UDP datagrams and redistributes them to a set of receivers
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING
GNU_CONFIGURE= yes
USE_RC_SUBR= ${PORTNAME}
PLIST_FILES= bin/samplicate
PORTDOCS= NEWS README
OPTIONS_DEFINE= DOCS
.include <bsd.port.options.mk>
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/samplicate ${STAGEDIR}${PREFIX}/bin
.if ${PORT_OPTIONS:MDOCS}
${MKDIR} ${STAGEDIR}${DOCSDIR}/
cd ${WRKSRC}/ && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}
.endif
.include <bsd.port.mk>