diff options
author | Max Khon <fjoe@FreeBSD.org> | 2002-08-11 12:57:32 +0000 |
---|---|---|
committer | Max Khon <fjoe@FreeBSD.org> | 2002-08-11 12:57:32 +0000 |
commit | 283fbbd0b1abf9fd85350935ceaa9005c485b70f (patch) | |
tree | 3eb985b7c7d002d2adc79ec0fcf334816e22e312 /misc | |
parent | 734efe6bd4797cc19ddd2005d5044e70fc1fc64b (diff) | |
download | ports-283fbbd0b1abf9fd85350935ceaa9005c485b70f.tar.gz ports-283fbbd0b1abf9fd85350935ceaa9005c485b70f.zip |
Notes
Diffstat (limited to 'misc')
-rw-r--r-- | misc/mc/Makefile | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/misc/mc/Makefile b/misc/mc/Makefile index 3e482d8d72c4..4f513e8ad3f1 100644 --- a/misc/mc/Makefile +++ b/misc/mc/Makefile @@ -14,8 +14,10 @@ MASTER_SITE_SUBDIR= stable/sources/mc MAINTAINER= fjoe@FreeBSD.org +.if !defined(WITHOUT_ISPELL) BUILD_DEPENDS= ispell:${PORTSDIR}/textproc/ispell -LIB_DEPENDS= intl.4:${PORTSDIR}/devel/gettext +RUN_DEPENDS= ispell:${PORTSDIR}/textproc/ispell +.endif .if !defined(WITHOUT_SLANG) LIB_DEPENDS+= slang.1:${PORTSDIR}/devel/libslang .endif @@ -27,6 +29,7 @@ USE_GMAKE= yes USE_GNOMENG= yes .if ${PORTNAME} == "mc" USE_GNOME= glib12 +LIB_DEPENDS= intl.4:${PORTSDIR}/devel/gettext .else USE_GNOME= gnomeprefix gnomelibs .endif @@ -62,7 +65,7 @@ post-patch: @find ${WRKSRC} -name "Makefile.in*" | xargs ${REINPLACE_CMD} \ -e 's|\$$(libdir)/mc|\$$(datadir)/mc|g' \ -e 's|\$$(datadir)/locale|\$$(prefix)/share/locale|g' -.if ${PORTNAME} != "mc +.if ${PORTNAME} != "mc" @${REINPLACE_CMD} -e 's|^SUBDIRS = intl po vfs edit src lib doc|SUBDIRS = intl po vfs lib|' ${WRKSRC}/Makefile.in .endif @${REINPLACE_CMD} -e 's|DRAR=/usr/bin|DRAR=${LOCALBASE}/bin|' \ @@ -70,7 +73,9 @@ post-patch: @${REINPLACE_CMD} -e 's|/usr/bin/\(.*\)zip|${LOCALBASE}/bin/\1zip|' \ ${WRKSRC}/vfs/extfs/uzip +.if ${PORTNAME} == "mc" post-install: @${LN} -sf mc ${PREFIX}/bin/midc +.endif .include <bsd.port.mk> |