aboutsummaryrefslogtreecommitdiff
path: root/sysutils/uniutils
diff options
context:
space:
mode:
authorThierry Thomas <thierry@FreeBSD.org>2009-02-21 10:55:07 +0000
committerThierry Thomas <thierry@FreeBSD.org>2009-02-21 10:55:07 +0000
commitcec54d3bac821c8a348c8679839cc36453854dec (patch)
treeb6898f4ad99e45870e79136f6bb8578839ccfb57 /sysutils/uniutils
parentb7a0d13a40db9bcd1239d55de4e5a2e9be1fb78f (diff)
downloadports-cec54d3bac821c8a348c8679839cc36453854dec.tar.gz
ports-cec54d3bac821c8a348c8679839cc36453854dec.zip
Notes
Diffstat (limited to 'sysutils/uniutils')
-rw-r--r--sysutils/uniutils/Makefile20
-rw-r--r--sysutils/uniutils/distinfo6
-rw-r--r--sysutils/uniutils/pkg-plist20
3 files changed, 27 insertions, 19 deletions
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%%