blob: 522819020f1d6651ee3aed5522ff8eb2463f1300 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
|
# Created by: thierry@pompo.net
# $FreeBSD$
PORTNAME= uniutils
PORTVERSION= 2.27
PORTREVISION= 2
CATEGORIES= sysutils textproc
MASTER_SITES= http://billposer.org/Software/Downloads/
MAINTAINER= thierry@FreeBSD.org
COMMENT= Unicode Description Utilities
LICENSE= GPLv3
RUN_DEPENDS= ascii2binary:${PORTSDIR}/converters/ascii2binary
GNU_CONFIGURE= yes
CPPFLAGS+= -I${LOCALBASE}/include
LIBS+= -L${LOCALBASE}/lib -lintl
USES= gettext
TESTFILES= Test1.ann Test1.u Test2.ann Test2.u Test3.ann Test3.u \
Test4.ann Test4.u Test5.ann Test5.u
PORTDOCS= AUTHORS NEWS README
OPTIONS_DEFINE= DOCS EXAMPLES
pre-configure:
${REINPLACE_CMD} -e 's|/usr/local|${PREFIX}|' ${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:
${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
${INSTALL_DATA} ${TESTFILES:S|^|${WRKSRC}/TestData/|} ${STAGEDIR}${EXAMPLESDIR}
.include <bsd.port.mk>
|