diff options
Diffstat (limited to 'misc/mc')
-rw-r--r-- | misc/mc/Makefile | 7 | ||||
-rw-r--r-- | misc/mc/pkg-plist | 3 |
2 files changed, 4 insertions, 6 deletions
diff --git a/misc/mc/Makefile b/misc/mc/Makefile index 1b8e54704574..cc78a4ec6cf9 100644 --- a/misc/mc/Makefile +++ b/misc/mc/Makefile @@ -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 diff --git a/misc/mc/pkg-plist b/misc/mc/pkg-plist index 4aae9411d6a2..3a733a2d88d5 100644 --- a/misc/mc/pkg-plist +++ b/misc/mc/pkg-plist @@ -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 |