blob: abeb73ed51103a81e7b3b96badb4f16b1483651c (
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
|
# $NetBSD: Makefile,v 1.11 1998/08/20 15:17:14 tsarna 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
HOMEPAGE= http://www.gnome.org/mc/
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"
|