mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-23 04:23:08 +00:00
302b5d0440
Feature safe: yes
43 lines
947 B
Makefile
43 lines
947 B
Makefile
# New ports collection makefile for: uni2ascii
|
|
# Date created: 12 Sep 2005
|
|
# Whom: Emanuel Haupt <ehaupt@critical.ch>
|
|
#
|
|
# $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 <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>
|