1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-12 07:27:57 +00:00
freebsd-ports/textproc/msort/Makefile

38 lines
1008 B
Makefile
Raw Normal View History

# Created by: Gea-Suan Lin <gslin@gslin.org>
# $FreeBSD$
PORTNAME= msort
2010-02-05 09:04:29 +00:00
PORTVERSION= 8.53
PORTREVISION= 2
CATEGORIES= textproc
MASTER_SITES= http://billposer.org/Software/Downloads/
MAINTAINER= ports@FreeBSD.org
COMMENT= Sorting files in sophisticated ways
LICENSE= GPLv3
LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libtre.so:textproc/libtre \
libuninum.so:devel/libuninum \
libutf8proc.so:textproc/utf8proc
RUN_DEPENDS= iwidgets>=0:x11-toolkits/iwidgets
TEST_DEPENDS= ${LOCALBASE}/bin/bash:shells/bash
CONFIGURE_ENV= ac_cv_lib_tre_regwcomp=yes
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
2007-01-07 14:50:50 +00:00
MAKE_ENV+= INCLUDES="-I${LOCALBASE}/include"
GNU_CONFIGURE= yes
USES= gettext tk:wrapper,run
TEST_TARGET= test
TEST_ENV= LC_ALL=C
PLIST_FILES= bin/msg bin/msort man/man1/msort.1.gz
2009-12-22 11:36:22 +00:00
post-patch:
@${REINPLACE_CMD} -e "s|bash|${LOCALBASE}/bin/bash|g" ${WRKSRC}/RegressionTests/Makefile
@${REINPLACE_CMD} -e "s|msort|../&|g" ${WRKSRC}/RegressionTests/RunTests.sh \
2009-12-22 11:36:22 +00:00
.include <bsd.port.mk>