aboutsummaryrefslogtreecommitdiffstats
path: root/net/udpcast/Makefile
blob: 1c33f6320ea4ddfc4e4edab1477b26677297c3d1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
# New ports collection makefile for:    udpcast
# Date created:     Mon Jul 19 19:10:56 UTC 2004
# Whom:         Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=   udpcast
PORTVERSION=    0.${RELEASE_DATE}
CATEGORIES= mbone sysutils
MASTER_SITES=   http://udpcast.linux.lu/download/
DISTNAME=   ${PORTNAME}-${RELEASE_DATE}

MAINTAINER= ports@FreeBSD.org
COMMENT=    A file transfer tool using ethernet's multicast

USE_GMAKE=  yes
USE_PERL5_BUILD=    yes
WRKSRC= ${WRKDIR}/${PORTNAME}-${RELEASE_DATE}

RELEASE_DATE=   20081213

PROGRAM_SBIN_FILES= udp-receiver udp-sender

PLIST_FILES=    sbin/udp-receiver \
        sbin/udp-sender
PORTDOCS=   Changelog.txt cmd.html

MAN1=       udp-receiver.1 udp-sender.1

GNU_CONFIGURE=  yes
CONFIGURE_ENV=  CPPFLAGS="${CPPFLAGS} -I${LOCALBASE}/include" \
        LIBS="-L${LOCALBASE}/lib"

do-install:
.ifndef(NOPORTDOCS)
    ${MKDIR} ${DOCSDIR}
. for file in ${PORTDOCS}
    @${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
. endfor
.endif
.for file in ${PROGRAM_SBIN_FILES}
    @${INSTALL_PROGRAM} ${WRKSRC}/${file} ${PREFIX}/sbin/
.endfor
.for file in ${MAN1}
    @${INSTALL_MAN} ${WRKSRC}/${file} ${MANPREFIX}/man/man1/
.endfor

.include <bsd.port.mk>