aboutsummaryrefslogtreecommitdiff
path: root/textproc/uni2ascii/Makefile
blob: 1a3b2e8bdc063cf86bf496cec5f4fffc436106fa (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
PORTNAME=	uni2ascii
PORTVERSION=	4.18
PORTREVISION=	1
CATEGORIES=	textproc
MASTER_SITES=	http://billposer.org/Software/Downloads/ \
		LOCAL/ehaupt

MAINTAINER=	ehaupt@FreeBSD.org
COMMENT=	Convert between UTF-8 Unicode and 7-bit ASCII equivalents
WWW=		http://freecode.com/projects/uni2ascii/

LICENSE=	GPLv3

USES=		tar:bzip2
GNU_CONFIGURE=	yes

MAKE_ARGS=	CC="${CC}" CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}"

PLIST_FILES=	bin/uni2ascii bin/ascii2uni share/man/man1/uni2ascii.1.gz \
		share/man/man1/ascii2uni.1.gz

do-install:
.for f in ${PORTNAME} ascii2uni
	${INSTALL_PROGRAM} ${WRKSRC}/${f} ${STAGEDIR}${PREFIX}/bin
	${INSTALL_MAN} ${WRKSRC}/${f}.1 ${STAGEDIR}${PREFIX}/share/man/man1
.endfor

.include <bsd.port.mk>