2013-09-20 23:17:30 +00:00
|
|
|
# Created by: Gea-Suan Lin <gslin@gslin.org>
|
2006-08-11 08:18:00 +00:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= msort
|
2010-02-05 09:04:29 +00:00
|
|
|
PORTVERSION= 8.53
|
2014-10-05 20:56:34 +00:00
|
|
|
PORTREVISION= 2
|
2006-08-11 08:18:00 +00:00
|
|
|
CATEGORIES= textproc
|
|
|
|
MASTER_SITES= http://billposer.org/Software/Downloads/
|
|
|
|
|
2014-12-02 22:40:56 +00:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2006-08-11 08:18:00 +00:00
|
|
|
COMMENT= Sorting files in sophisticated ways
|
|
|
|
|
2014-02-21 15:15:11 +00:00
|
|
|
LICENSE= GPLv3
|
2015-12-01 14:05:30 +00:00
|
|
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
2014-02-21 15:15:11 +00:00
|
|
|
|
2016-04-01 14:25:16 +00:00
|
|
|
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
|
2006-08-11 08:18:00 +00:00
|
|
|
|
2011-09-23 22:26:39 +00:00
|
|
|
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"
|
2006-08-11 08:18:00 +00:00
|
|
|
GNU_CONFIGURE= yes
|
2014-02-21 15:15:11 +00:00
|
|
|
USES= gettext tk:wrapper,run
|
2015-12-01 14:05:30 +00:00
|
|
|
TEST_TARGET= test
|
|
|
|
TEST_ENV= LC_ALL=C
|
2006-08-11 08:18:00 +00:00
|
|
|
|
2014-02-21 15:15:11 +00:00
|
|
|
PLIST_FILES= bin/msg bin/msort man/man1/msort.1.gz
|
2006-08-11 08:18:00 +00:00
|
|
|
|
2009-12-22 11:36:22 +00:00
|
|
|
post-patch:
|
2015-12-01 14:05:30 +00:00
|
|
|
@${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
|
|
|
|
2009-01-06 17:43:44 +00:00
|
|
|
.include <bsd.port.mk>
|