mirror of
https://git.FreeBSD.org/ports.git
synced 2025-02-04 11:23:46 +00:00
- ${PERL} -> ${REINPLACE_CMD}
- fix pkg-plist
This commit is contained in:
parent
4d62cc2164
commit
61b19cc7e7
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=64077
@ -19,6 +19,7 @@ BUILD_DEPENDS= ispell:${PORTSDIR}/textproc/ispell
|
||||
USE_GMAKE= yes
|
||||
USE_GNOMENG= yes
|
||||
USE_GNOME= glib12
|
||||
USE_REINPLACE= yes
|
||||
GNU_CONFIGURE= yes
|
||||
CONFIGURE_ARGS= --with-ncurses --without-gnome
|
||||
CONFIGURE_ENV= CPPFLAGS=-I${LOCALBASE}/include \
|
||||
@ -28,9 +29,9 @@ CONFIGURE_TARGET= --target=${MACHINE_ARCH}-unknown-freebsd${OSREL}
|
||||
MAN1= mc.1 mcedit.1
|
||||
|
||||
post-patch:
|
||||
@find ${WRKSRC} -name "Makefile.in*" | xargs ${PERL} -pi -e \
|
||||
's|\$\(libdir\)/mc|\$\(datadir\)/mc|g ; \
|
||||
s|\$\(datadir\)/locale|\$\(prefix\)/share/locale|g'
|
||||
@find ${WRKSRC} -name "Makefile.in*" | xargs ${REINPLACE_CMD} \
|
||||
-e 's|\$$(libdir)/mc|\$$(datadir)/mc|g' \
|
||||
-e 's|\$$(datadir)/locale|\$$(prefix)/share/locale|g'
|
||||
|
||||
post-install:
|
||||
@${LN} -sf mc ${PREFIX}/bin/midc
|
||||
|
@ -33,8 +33,6 @@ share/locale/uk/LC_MESSAGES/mc.mo
|
||||
share/locale/wa/LC_MESSAGES/mc.mo
|
||||
share/locale/zh_CN.GB2312/LC_MESSAGES/mc.mo
|
||||
share/locale/zh_TW.Big5/LC_MESSAGES/mc.mo
|
||||
share/mc/FAQ
|
||||
share/mc/bin/mcfn_install
|
||||
share/mc/cedit.menu
|
||||
share/mc/edit.indent.rc
|
||||
share/mc/edit.spell.rc
|
||||
@ -107,5 +105,4 @@ share/mc/syntax/texinfo.syntax
|
||||
share/mc/syntax/unknown.syntax
|
||||
@dirrm share/mc/syntax
|
||||
@dirrm share/mc/extfs
|
||||
@dirrm share/mc/bin
|
||||
@dirrm share/mc
|
||||
|
Loading…
x
Reference in New Issue
Block a user