# New ports collection makefile for: uni2ascii # Date created: 12 Sep 2005 # Whom: Emanuel Haupt # # $FreeBSD$ # PORTNAME= uni2ascii PORTVERSION= 4.17 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}" LICENSE= GPLv3 MAN1= uni2ascii.1 ascii2uni.1 PLIST_FILES= bin/uni2ascii bin/ascii2uni .include .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