summaryrefslogtreecommitdiff
path: root/misc/vfu/Makefile
blob: 42b80a210eb9142ae46567b765245870946c26a3 (plain)
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
# $NetBSD: Makefile,v 1.16 2000/09/03 12:33:29 wiz Exp $
#

DISTNAME=	vfu-3.01
CATEGORIES=	misc
MASTER_SITES=	http://www.biscom.net/~cade/away/vfu/ \
		ftp://metalab.unc.edu/pub/Linux/utils/file/managers/
EXTRACT_SUFX=	.src.tar.gz

MAINTAINER=	hubertf@netbsd.org
HOMEPAGE=	http://www.biscom.net/~cade/away/vfu/

DEPENDS=	ncurses>=5.0:../../devel/ncurses

USE_PERL5=	# defined

post-extract:
	${ECHO} "" >>build.netbsd

do-build:
	cd ${WRKSRC} ; \
	 ${SETENV} ${MAKE_ENV} ${SH} build.netbsd

do-install:
	cd ${WRKSRC} ; \
	${INSTALL_PROGRAM} vfu/vfu ftparc/ftparc ${PREFIX}/bin
	for i in rx_auto rx_deb rx_ftp rx_tar rx_zip ; do \
		${ECHO} $$i ; \
		${SED} 's,/usr/bin/perl,${PERL5},' \
			<${WRKSRC}/rx/$$i >${WRKSRC}/rx/$$i.new ; \
		${INSTALL_SCRIPT} ${WRKSRC}/rx/$$i.new ${PREFIX}/bin/$$i ; \
	done
	${INSTALL_DATA_DIR} ${PREFIX}/share/doc/vfu
	${INSTALL_DATA} \
		${WRKSRC}/COPYING \
		${WRKSRC}/INSTALL \
		${WRKSRC}/vfu/README \
		${WRKSRC}/VFU.txt \
		${PREFIX}/share/doc/vfu
	${INSTALL_DATA} \
		${WRKSRC}/vfu.conf \
		${PREFIX}/share/doc/vfu/vfurc.example
	[ -f ${PREFIX}/etc/vfurc ] || \
		${INSTALL_DATA} \
		 ${PREFIX}/share/doc/vfu/vfurc.example ${PREFIX}/etc/vfurc

.include "../../mk/bsd.pkg.mk"