summaryrefslogtreecommitdiff
path: root/graphics/netshow/Makefile
blob: b1f5c4a6b59b2e6f1a48fb5b5c94d737032b6cf5 (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
# New ports collection makefile for:    netshow
# Version required:     2.00.251
# Date created:         Thu Jun 11 22:38:52 PDT 1998
# Whom:                 dburr@FreeBSD.org
#
# $FreeBSD$
#

DISTNAME=	netshow_linux
PKGNAME=	netshow-2.00.251
CATEGORIES=	graphics net linux
MASTER_SITES=	http://microsoft.com/netshow/download/en/beta/
EXTRACT_SUFX=	.gz

MAINTAINER=	dburr@FreeBSD.org

RUN_DEPENDS=	/compat/linux/usr/i486-linux-libc5/lib/libc.so.5:${PORTSDIR}/emulators/linux_base

ONLY_FOR_ARCHS=	i386
RESTRICTED=	"Commercial software"
NO_CDROM=	${RESTRICTED}
NO_PACKAGE=	${RESTRICTED}

NO_BUILD=	yes

USE_X_PREFIX=	yes

pre-extract:
	@${MKDIR} ${WRKDIR}

do-extract:
	${GUNZIP_CMD} < ${DISTDIR}/${DISTNAME}${EXTRACT_SUFX} > ${WRKDIR}/netshow

do-patch:
	brandelf -t Linux ${WRKDIR}/netshow

do-install:
	${INSTALL} -c -o bin -g bin -m 555 ${WRKDIR}/netshow ${PREFIX}/bin/netshow

post-install:
	@${CAT} ${PKGDIR}/MESSAGE

.include <bsd.port.mk>