diff options
author | fjoe <fjoe@FreeBSD.org> | 2002-08-06 06:06:26 +0800 |
---|---|---|
committer | fjoe <fjoe@FreeBSD.org> | 2002-08-06 06:06:26 +0800 |
commit | a853bc3e2825ba0223b42c13cb19bc44cb9f6d30 (patch) | |
tree | d8c5841d0f27adb56b731abbe796fd1b2af7fa31 /misc | |
parent | ee221d13921b4fe9500462a11d25b103979ed591 (diff) | |
download | freebsd-ports-gnome-a853bc3e2825ba0223b42c13cb19bc44cb9f6d30.tar.gz freebsd-ports-gnome-a853bc3e2825ba0223b42c13cb19bc44cb9f6d30.tar.zst freebsd-ports-gnome-a853bc3e2825ba0223b42c13cb19bc44cb9f6d30.zip |
- ${PERL} -> ${REINPLACE_CMD}
- fix pkg-plist
Diffstat (limited to 'misc')
-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 |