From 314d14008da96d6f4a146c6c489fe3879eb87302 Mon Sep 17 00:00:00 2001 From: thierry Date: Sat, 21 Feb 2009 10:55:07 +0000 Subject: - Upgrade to 2.27 Changelog at - Use PORTEXAMPLES; - Add some regression-tests. --- sysutils/uniutils/Makefile | 20 +++++++++++++------- sysutils/uniutils/distinfo | 6 +++--- sysutils/uniutils/pkg-plist | 20 +++++++++++--------- 3 files changed, 27 insertions(+), 19 deletions(-) (limited to 'sysutils') diff --git a/sysutils/uniutils/Makefile b/sysutils/uniutils/Makefile index 87440294b546..9bd5be8895dd 100644 --- a/sysutils/uniutils/Makefile +++ b/sysutils/uniutils/Makefile @@ -6,8 +6,7 @@ # PORTNAME= uniutils -PORTVERSION= 2.26 -PORTREVISION= 1 +PORTVERSION= 2.27 CATEGORIES= sysutils textproc MASTER_SITES= http://billposer.org/Software/Downloads/ @@ -21,23 +20,30 @@ CONFIGURE_ENV= CPPFLAGS="${CFLAGS} -I${LOCALBASE}/include" \ LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib" \ LIBS="-lintl" USE_GETTEXT= yes -WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} TESTFILES= Test1.ann Test1.u Test2.ann Test2.u Test3.ann Test3.u \ - Test4.ann Test4.u + Test4.ann Test4.u Test5.ann Test5.u PORTDOCS= AUTHORS NEWS README MAN1= ExplicateUTF8.1 unidesc.1 unifuzz.1 unihist.1 uniname.1 \ unireverse.1 pre-configure: - @${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|' ${WRKSRC}/Makefile.in - @${REINPLACE_CMD} -e 's|TestData|${EXAMPLESDIR}|' ${WRKSRC}/README + ${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|' ${WRKSRC}/Makefile.in + ${REINPLACE_CMD} -e 's|TestData|${EXAMPLESDIR}|' ${WRKSRC}/README + +regression-test: + (cd ${WRKSRC} && \ + ./unidesc TestData/Test1.u && \ + ./uniname TestData/Test1.ann) post-install: .if !defined(NOPORTDOCS) - ${MKDIR} ${DOCSDIR} ${EXAMPLESDIR} + ${MKDIR} ${DOCSDIR} ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR} +.endif +.if !defined(NOPORTEXAMPLES) + ${MKDIR} ${EXAMPLESDIR} ${INSTALL_DATA} ${TESTFILES:S|^|${WRKSRC}/TestData/|} ${EXAMPLESDIR} .endif diff --git a/sysutils/uniutils/distinfo b/sysutils/uniutils/distinfo index d1fcd9884e52..34779cc385d1 100644 --- a/sysutils/uniutils/distinfo +++ b/sysutils/uniutils/distinfo @@ -1,3 +1,3 @@ -MD5 (uniutils-2.26.tar.gz) = e5e30d28ee07724d5547c3b1e953b437 -SHA256 (uniutils-2.26.tar.gz) = 6e33cb11676a590f2a9fe6eca25b9eb34116e8289549b8529f70f5cc849a920d -SIZE (uniutils-2.26.tar.gz) = 262280 +MD5 (uniutils-2.27.tar.gz) = 0f28ed8a756cd1a792310fd97e65ac52 +SHA256 (uniutils-2.27.tar.gz) = c662a9215a3a67aae60510f679135d479dbddaf90f5c85a3c5bab1c89da61596 +SIZE (uniutils-2.27.tar.gz) = 274303 diff --git a/sysutils/uniutils/pkg-plist b/sysutils/uniutils/pkg-plist index 09eac9a2cfad..b08d06f82022 100644 --- a/sysutils/uniutils/pkg-plist +++ b/sysutils/uniutils/pkg-plist @@ -5,12 +5,14 @@ bin/unihist bin/uniname bin/unireverse bin/utf8lookup -%%PORTDOCS%%%%EXAMPLESDIR%%/Test1.ann -%%PORTDOCS%%%%EXAMPLESDIR%%/Test1.u -%%PORTDOCS%%%%EXAMPLESDIR%%/Test2.ann -%%PORTDOCS%%%%EXAMPLESDIR%%/Test2.u -%%PORTDOCS%%%%EXAMPLESDIR%%/Test3.ann -%%PORTDOCS%%%%EXAMPLESDIR%%/Test3.u -%%PORTDOCS%%%%EXAMPLESDIR%%/Test4.ann -%%PORTDOCS%%%%EXAMPLESDIR%%/Test4.u -%%PORTDOCS%%@dirrm %%EXAMPLESDIR%% +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/Test1.ann +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/Test1.u +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/Test2.ann +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/Test2.u +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/Test3.ann +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/Test3.u +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/Test4.ann +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/Test4.u +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/Test5.ann +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/Test5.u +%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%% -- cgit