1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-10 07:04:03 +00:00
freebsd-ports/net/serviio/Makefile
Alexander Leidinger 199480b85d - stage-ify
- fix plist
2014-06-03 20:15:47 +00:00

47 lines
1.3 KiB
Makefile

# Created by: Mikhail Teterin <mi@aldan.algebra.com>
# $FreeBSD$
PORTNAME= serviio
PORTVERSION= 1.4.1.2
PORTREVISION= 1
CATEGORIES= net multimedia java www
MASTER_SITES= http://download.serviio.org/releases/
EXTRACT_SUFX= -linux.tar.gz
MAINTAINER= netchild@FreeBSD.org
COMMENT= Transcoding DLNA-server implemented in Java
RUN_DEPENDS= ffmpeg:${PORTSDIR}/multimedia/ffmpeg
NO_BUILD= yes
USE_JAVA= yes
USES= dos2unix
DOS2UNIX_GLOB= derby.properties
PKGMESSAGE= ${WRKSRC}/pkg-message
SUB_FILES+= pkg-message serviiod serviio-console
USE_RC_SUBR= serviio
SUB_LIST+= USER=${USERS}
RESTRICTED= License does not allow selling
EXTRACT_AFTER_ARGS=--exclude junit.jar \
--exclude org.restlet.ext.net.jar
USERS= dlna
GROUPS= dlna
do-install:
${MKDIR} ${STAGEDIR}${JAVAJARDIR}/${PORTNAME}/plugins
${INSTALL_DATA} ${WRKSRC}/lib/*.jar \
${STAGEDIR}${JAVAJARDIR}/${PORTNAME}/
${MKDIR} ${STAGEDIR}${PREFIX}/etc/${PORTNAME}
.for f in application-profiles profiles log4j
${INSTALL_DATA} ${WRKSRC}/config/$f.xml \
${STAGEDIR}${ETCDIR}/$f.dist.xml
.endfor
${INSTALL_DATA} ${FILESDIR}/console-log4j.properties \
${STAGEDIR}${ETCDIR}/console-log4j.dist.properties
${INSTALL_SCRIPT} ${WRKDIR}/serviiod ${STAGEDIR}${PREFIX}/sbin
${INSTALL_SCRIPT} ${WRKDIR}/serviio-console ${STAGEDIR}${PREFIX}/bin
.include <bsd.port.mk>