freebsd-ports/sysutils/uniutils/Makefile
Thierry Thomas 71fa9a6779 Add unidesc 2.12, Unicode Description Utilities.
Unidesc consists of four programs for finding out what is in a Unicode file.

They are useful when working with Unicode files when one doesn't know the
writing system, doesn't have the necessary font, needs to inspect invisible
characters, needs to find out whether characters have been combined or in what
order they occur, or needs statistics on which characters occur.
2005-05-15 15:54:36 +00:00

45 lines
1.2 KiB
Makefile

# New ports collection makefile for: unidesc
# Date created: Sun 15 May 2005
# Whom: thierry@pompo.net
#
# $FreeBSD$
#
PORTNAME= unidesc
PORTVERSION= 2.12
CATEGORIES= sysutils textproc
MASTER_SITES= http://www.cis.upenn.edu/~wjposer/.downloads/
DISTNAME= ${PORTNAME}
EXTRACT_SUFX= .tgz
DIST_SUBDIR= ${PORTNAME}-${PORTVERSION}
MAINTAINER= thierry@FreeBSD.org
COMMENT= Unicode Description Utilities
USE_GETTEXT= yes
USE_REINPLACE= yes
TESTFILES= TestData/Test1.ann TestData/Test1.u TestData/Test2.ann \
TestData/Test2.u TestData/Test3.ann TestData/Test3.u \
TestData/Test4.ann TestData/Test4.u
DEMOS= demo.jpg demo.u demo32.u
PORTDOCS= README
MAN1= unidesc.1 uniname.1 ExplicateUTF8.1 unihist.1
WRKSRC= ${WRKDIR}/${PORTNAME:U}
pre-configure:
@${REINPLACE_CMD} -e 's|/usr/local|${PREFIX}|;s|%%LOCALBASE%%|${LOCALBASE}|' \
${WRKSRC}/Makefile
@${REINPLACE_CMD} -e 's|TestData|${EXAMPLESDIR}|' ${WRKSRC}/README
post-install:
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR} ${EXAMPLESDIR}
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
${INSTALL_DATA} ${TESTFILES:S|^|${WRKSRC}/|} ${EXAMPLESDIR}
${INSTALL_DATA} ${DEMOS:S|^|${WRKSRC}/|} ${EXAMPLESDIR}
.endif
.include <bsd.port.mk>