diff options
author | fjoe <fjoe@FreeBSD.org> | 2002-08-11 20:57:32 +0800 |
---|---|---|
committer | fjoe <fjoe@FreeBSD.org> | 2002-08-11 20:57:32 +0800 |
commit | 97a587e474130e4a559eaff09f8b1c419178fa2a (patch) | |
tree | 182c5d8bb678cbd2ea149766e340f8f53e4bf1dc /misc/mc | |
parent | 98c85d3a63dd14b5bd7d7184dd4510fb21b8f6e0 (diff) | |
download | freebsd-ports-gnome-97a587e474130e4a559eaff09f8b1c419178fa2a.tar.gz freebsd-ports-gnome-97a587e474130e4a559eaff09f8b1c419178fa2a.tar.zst freebsd-ports-gnome-97a587e474130e4a559eaff09f8b1c419178fa2a.zip |
- add WITHOUT_ISPELL knob, RUN_DEPENDS on ispell
- do not install midc -> mc symlink if gnomemc is being built
Diffstat (limited to 'misc/mc')
-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> |