1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-28 05:29:48 +00:00
freebsd-ports/x11-fm/gnomemc/Makefile
2001-09-11 16:25:08 +00:00

32 lines
791 B
Makefile

# New ports collection makefile for: gnomemc
# Date created: 26 January 1999
# Whom: Jeremy Lea <reg@shale.csir.co.za>
#
# $FreeBSD$
#
PORTNAME= gnomemc
PORTVERSION= 4.5.55
CATEGORIES= x11-fm gnome
MASTER_SITES= ${MASTER_SITE_GNOME}
MASTER_SITE_SUBDIR= stable/sources/mc
DISTNAME= mc-${PORTVERSION}
MAINTAINER= gnome@FreeBSD.org
USE_X_PREFIX= yes
USE_GMAKE= yes
USE_GNOME= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --without-edit -with-ncurses
CONFIGURE_ENV= CPPFLAGS=-I${LOCALBASE}/include \
LDFLAGS=-L${LOCALBASE}/lib
CONFIGURE_TARGET= --target=${MACHINE_ARCH}-unknown-freebsd${OSREL}
post-patch:
@find ${WRKSRC} -name "Makefile.in*" | xargs ${PERL} -pi -e \
's|\$\(libdir\)/mc|\$\(datadir\)/mc|g ; \
s|\$\(datadir\)/locale|\$\(prefix\)/share/locale|g'
.include <bsd.port.mk>