blob: a7a07932144fc381fafb45296b729567ecd95e21 (
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
|
# $NetBSD: Makefile,v 1.10 1998/06/22 12:52:33 agc Exp $
# FreeBSD Id: Makefile,v 1.16 1997/11/30 19:37:48 vanilla Exp
#
DISTNAME= mc-4.1
CATEGORIES= misc
MASTER_SITES= ${MASTER_SITE_SUNSITE}
MASTER_SITE_SUBDIR= utils/file/managers/mc
MAINTAINER= packages@netbsd.org
DEPENDS+= ncurses-1.9.9g:../../devel/ncurses
GNU_CONFIGURE= YES
CONFIGURE_ARGS+= --with-ncurses --without-edit --without-subshell
pre-configure:
for f in `find ${WRKDIR}/. -type f -print|xargs ${GREP} -l '/usr/local'`; do \
${ECHO} patching $$f ; \
${CP} -p $$f $$f.tmp ; \
${SED} -e 's:/usr/local:'${PREFIX}':g' < $$f.tmp > $$f && ${MV} $$f.tmp $$f; \
done
post-install:
@ ${RMDIR} ${PREFIX}/lib/mc/icons
.include "../../mk/bsd.pkg.mk"
|