mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-26 00:55:14 +00:00
7dc406a7a1
COMMENT typos and surrounding whitespace fixes. A few Makefiles where not included as they contain Latin-1 characters that break the Phabricator workflow. Category N. CR: D307 Approved by: portmgr (bapt)
47 lines
1.1 KiB
Makefile
47 lines
1.1 KiB
Makefile
# Created by: Volker Theile <votdev@gmx.de>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= ushare
|
|
PORTVERSION= 1.1a
|
|
PORTREVISION= 9
|
|
CATEGORIES= net
|
|
MASTER_SITES= http://ushare.geexbox.org/releases/
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= Lightweight UPnP (TM) A/V Media Server
|
|
|
|
LIB_DEPENDS= upnp.9:${PORTSDIR}/devel/upnp
|
|
|
|
HAS_CONFIGURE= yes
|
|
USE_BZIP2= yes
|
|
USES= gettext gmake pkgconfig
|
|
LDFLAGS+= -L${LOCALBASE}/lib -lintl
|
|
|
|
CFLAGS+= -I${LOCALBASE}/include -I${WRKSRC}
|
|
|
|
MAN1= ${PORTNAME}.1
|
|
|
|
OPTION_DEFINE= LIBDLNA
|
|
LIBDLNA_DESC= DLNA (PS3) support
|
|
|
|
NO_STAGE= yes
|
|
.include <bsd.port.options.mk>
|
|
|
|
.if ${PORT_OPTIONS:MLIBDLNA}
|
|
LIB_DEPENDS+= dlna:${PORTSDIR}/devel/libdlna
|
|
CONFIGURE_ARGS= --enable-dlna
|
|
.endif
|
|
|
|
do-install:
|
|
${INSTALL_SCRIPT} ${WRKSRC}/src/${PORTNAME} ${PREFIX}/bin
|
|
${CP} ${WRKSRC}/scripts/${PORTNAME}.conf \
|
|
${PREFIX}/etc/${PORTNAME}.conf.sample
|
|
${INSTALL_SCRIPT} ${WRKSRC}/scripts/${PORTNAME} ${PREFIX}/etc/rc.d
|
|
${INSTALL_MAN} ${WRKSRC}/src/${PORTNAME}.1 ${PREFIX}/man/man1
|
|
|
|
post-install:
|
|
${CP} -np ${PREFIX}/etc/${PORTNAME}.conf.sample \
|
|
${PREFIX}/etc/${PORTNAME}.conf || ${TRUE}
|
|
|
|
.include <bsd.port.mk>
|