mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-28 01:06:17 +00:00
f18cbf2fa6
- switch devel/gettext (0.11.1) on, installing full package - flip devel/gettext-old (0.10.35) to installing only static binaries with a "-old" suffix -- gettext-old will have its deorbit burn sequence initiated just after 4.6-RELEASE - fix up ports for the new world order Reviewed by: portmgr
52 lines
1.2 KiB
Makefile
52 lines
1.2 KiB
Makefile
# New ports collection makefile for: mc
|
|
# Date created: 15 Jul 1995
|
|
# Whom: torstenb@FreeBSD.org
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= mc
|
|
PORTVERSION= 4.5.54
|
|
PORTREVISION= 3
|
|
CATEGORIES= misc
|
|
MASTER_SITES= ${MASTER_SITE_GNOME}
|
|
MASTER_SITE_SUBDIR= stable/sources/mc
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
|
|
LIB_DEPENDS= intl.2:${PORTSDIR}/devel/gettext
|
|
.if defined(WITH_NCURSES_PORT)
|
|
LIB_DEPENDS+= ncurses.5:${PORTSDIR}/devel/ncurses
|
|
.elif defined(WITH_SLANG)
|
|
LIB_DEPENDS+= slang.1:${PORTSDIR}/devel/libslang
|
|
BUILD_DEPENDS= ispell:${PORTSDIR}/textproc/ispell
|
|
RUN_DEPENDS= ispell:${PORTSDIR}/textproc/ispell
|
|
.endif
|
|
|
|
USE_GMAKE= yes
|
|
USE_GLIB= yes
|
|
GNU_CONFIGURE= yes
|
|
.if defined(WITH_SLANG)
|
|
CONFIGURE_ARGS= --with-slang --without-gnome --with-edit
|
|
.else
|
|
CONFIGURE_ARGS= --with-ncurses --without-gnome --without-edit
|
|
.endif
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
|
LIBS="-L${LOCALBASE}/lib -lintl"
|
|
|
|
MAN1= midc.1 mcedit.1
|
|
MAN8= mcserv.8
|
|
|
|
pre-patch:
|
|
@find ${WRKSRC} -name "Makefile.in" | xargs ${PERL} -pi -e \
|
|
's|\$\(libdir\)/mc|\$\(datadir\)/mc|g'
|
|
|
|
.if defined(WITH_SLANG)
|
|
PLIST= ${WRKDIR}/PLIST
|
|
pre-install:
|
|
@${CAT} ${PKGDIR}/pkg-plist > ${PLIST}
|
|
@${ECHO_CMD} bin/mcedit >> ${PLIST}
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|