blob: 7780f59c0ea3d9f56b79a508dbd18d093664d01c (
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
|
# New ports collection makefile for: uni2ascii
# Date created: 12 Sep 2005
# Whom: Emanuel Haupt <ehaupt@critical.ch>
#
# $FreeBSD$
#
PORTNAME= uni2ascii
PORTVERSION= 4.16
CATEGORIES= textproc
MASTER_SITES= http://billposer.org/Software/Downloads/ \
CRITICAL
MAINTAINER= ehaupt@FreeBSD.org
COMMENT= Convert between UTF-8 Unicode and 7-bit ASCII equivalents
GNU_CONFIGURE= yes
USE_BZIP2= yes
MAKE_JOBS_SAFE= yes
MAKE_ARGS= CC="${CC}" CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}"
MAN1= uni2ascii.1 ascii2uni.1
PLIST_FILES= bin/uni2ascii bin/ascii2uni
.include <bsd.port.pre.mk>
.if ${OSVERSION} < 800067
LIB_DEPENDS= getline.1:${PORTSDIR}/devel/libgetline
LDFLAGS+= -lgetline
CFLAGS+= -I${LOCALBASE}/include -L${LOCALBASE}/lib
.endif
do-install:
.for f in ${PORTNAME} ascii2uni
${INSTALL_PROGRAM} ${WRKSRC}/${f} ${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/${f}.1 ${MAN1PREFIX}/man/man1
.endfor
.include <bsd.port.post.mk>
|