freebsd-ports/sysutils/djmount/Makefile
Boris Samorodov 41aa63fa0b 1. Introduce using iconv with arguments:
. lib (default, implicit);
. build,
. patch.

The default is the same, all existing ports stay valid.

2. Introduce variable ICONV_CMD with default to ${LOCALBASE}/bin/iconv.
It is intended to get the value of /usr/bin/iconv at recent 10.x.

3. Adopt all ports to using USES+= icomv:build and iconv:patch and
change iconv (executable) at Makefile commands to ${ICONV_CMD} at those ports.

Submitted by:	bsam (me, via e-mail)
Approved by:	portmgr (bapt)
2013-09-02 05:41:50 +00:00

30 lines
689 B
Makefile

# Created by: Eric L. Camachat <eric@camachat.org>
# $FreeBSD$
PORTNAME= djmount
PORTVERSION= 0.71
PORTREVISION= 6
CATEGORIES= sysutils
MASTER_SITES= SF
MAINTAINER= eric@camachat.org
COMMENT= Mount UPnP A/V Media
LIB_DEPENDS= upnp.9:${PORTSDIR}/devel/upnp
PLIST_FILES= bin/${PORTNAME}
GNU_CONFIGURE= yes
USES= fuse iconv:build pkgconfig
CONFIGURE_ARGS= --with-libiconv-prefix=${LOCALBASE} \
--with-fuse-prefix=${LOCALBASE} \
--with-external-libupnp --with-libupnp-prefix=${LOCALBASE}
PORTDOCS= AUTHORS ChangeLog NEWS README TODO
post-install:
.ifndef NOPORTDOCS
@${INSTALL} -d ${DOCSDIR}/
@cd ${WRKSRC}/&&${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}/
.endif
.include <bsd.port.mk>