mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-30 01:15:52 +00:00
f935a609c5
supports them. This is determined by running ``configure --help'' in do-configure target and set the shell variable _LATE_CONFIGURE_ARGS which is then passed to CONFIGURE_ARGS. - Remove --mandir and --infodir in ports' Makefile where applicable Few ports use REINPLACE_CMD to achieve the same effect, remove them too. - Correct some manual pages location from PREFIX/man to MANPREFIX/man - Define INFO_PATH where necessary - Document that .info files are installed in a subdirectory relative to PREFIX/INFO_PATH and slightly change add-plist-info to use INFO_PATH and subdirectory detection. PR: ports/111470 Approved by: portmgr Discussed with: stas (Mk/*), gerald (info related stuffs) Tested by: pointyhat exp run
43 lines
1.1 KiB
Makefile
43 lines
1.1 KiB
Makefile
# New ports collection makefile for: ushare
|
|
# Date created: 11 December 2006
|
|
# Whom: Volker Theile <votdev@gmx.de>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= ushare
|
|
PORTVERSION= 1.0
|
|
PORTREVISION= 1
|
|
CATEGORIES= net
|
|
MASTER_SITES= http://ushare.geexbox.org/releases/
|
|
|
|
MAINTAINER= votdev@gmx.de
|
|
COMMENT= A lightweight UPnP (TM) A/V Media Server
|
|
|
|
LIB_DEPENDS= upnp.3:${PORTSDIR}/devel/upnp
|
|
BUILD_DEPENDS= iconv:${PORTSDIR}/converters/libiconv
|
|
|
|
PLIST_FILES= bin/${PORTNAME} etc/${PORTNAME}.conf.sample etc/rc.d/${PORTNAME}
|
|
MAN1= ${PORTNAME}.1
|
|
|
|
USE_BZIP2= yes
|
|
GNU_CONFIGURE= yes
|
|
USE_GNOME= pkgconfig
|
|
CONFIGURE_ARGS= --with-libiconv-prefix=${LOCALBASE}/lib \
|
|
--with-libintl-prefix=${LOCALBASE}/lib \
|
|
--with-libupnp-prefix=${LOCALBASE}
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if ${OSVERSION} < 700042
|
|
CFLAGS+= ${PTHREAD_LIBS}
|
|
.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
|
|
|
|
.include <bsd.port.post.mk>
|