2013-09-21 01:17:30 +02:00
|
|
|
# Created by: Gea-Suan Lin <gslin@gslin.org>
|
2006-08-11 10:18:00 +02:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= msort
|
2010-02-05 10:04:29 +01:00
|
|
|
PORTVERSION= 8.53
|
2010-05-31 04:01:56 +02:00
|
|
|
PORTREVISION= 1
|
2006-08-11 10:18:00 +02:00
|
|
|
CATEGORIES= textproc
|
|
|
|
MASTER_SITES= http://billposer.org/Software/Downloads/
|
|
|
|
|
2007-01-07 15:50:50 +01:00
|
|
|
MAINTAINER= clsung@FreeBSD.org
|
2006-08-11 10:18:00 +02:00
|
|
|
COMMENT= Sorting files in sophisticated ways
|
|
|
|
|
2007-01-07 15:50:50 +01:00
|
|
|
LIB_DEPENDS= tre:${PORTSDIR}/textproc/libtre \
|
2007-10-17 05:31:05 +02:00
|
|
|
uninum:${PORTSDIR}/devel/libuninum \
|
|
|
|
utf8proc:${PORTSDIR}/textproc/utf8proc
|
2006-08-11 10:18:00 +02:00
|
|
|
RUN_DEPENDS= iwidgets>=0:${PORTSDIR}/x11-toolkits/iwidgets
|
|
|
|
|
2011-09-24 00:26:39 +02:00
|
|
|
CONFIGURE_ENV= ac_cv_lib_tre_regwcomp=yes
|
|
|
|
CPPFLAGS+= -I${LOCALBASE}/include
|
|
|
|
LDFLAGS+= -L${LOCALBASE}/lib
|
2007-01-07 15:50:50 +01:00
|
|
|
MAKE_ENV+= INCLUDES="-I${LOCALBASE}/include"
|
2006-08-11 10:18:00 +02:00
|
|
|
GNU_CONFIGURE= yes
|
2007-04-03 00:56:15 +02:00
|
|
|
USE_TK_RUN= yes
|
2008-07-20 01:02:57 +02:00
|
|
|
USE_TCL_WRAPPER= yes
|
2013-04-24 20:10:30 +02:00
|
|
|
USES= gettext
|
2013-09-22 20:05:04 +02:00
|
|
|
NO_STAGE= yes
|
2006-08-11 10:18:00 +02:00
|
|
|
|
|
|
|
PLIST_FILES= bin/msg bin/msort
|
|
|
|
|
|
|
|
MAN1= msort.1
|
|
|
|
|
2009-12-22 12:36:22 +01:00
|
|
|
.ifdef(MAINTAINER_MODE)
|
|
|
|
BUILD_DEPENDS+= ${LOCALBASE}/bin/bash:${PORTSDIR}/shells/bash
|
|
|
|
|
|
|
|
post-patch:
|
|
|
|
${REINPLACE_CMD} -e "s|bash|${LOCALBASE}/bin/bash|g" ${WRKSRC}/RegressionTests/Makefile
|
|
|
|
${REINPLACE_CMD} -e "s|msort|../&|g" ${WRKSRC}/RegressionTests/RunTests.sh \
|
|
|
|
${WRKSRC}/RegressionTests/RunLocaleTests.sh
|
|
|
|
|
|
|
|
test: build
|
|
|
|
@(cd ${WRKSRC} ; ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_ARGS} test)
|
|
|
|
|
|
|
|
.endif
|
|
|
|
|
2009-01-06 18:43:44 +01:00
|
|
|
.include <bsd.port.mk>
|