2007-01-07 15:38:30 +01:00
|
|
|
# New ports collection makefile for: libuninum
|
|
|
|
# Date created: 2007-01-07
|
|
|
|
# Whom: Cheng-Lung Sung <clsung@FreeBSD.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= libuninum
|
2007-10-10 04:10:56 +02:00
|
|
|
PORTVERSION= 2.6
|
2007-01-07 15:38:30 +01:00
|
|
|
CATEGORIES= devel
|
|
|
|
MASTER_SITES= http://billposer.org/Software/Downloads/
|
|
|
|
|
|
|
|
MAINTAINER= clsung@FreeBSD.org
|
|
|
|
COMMENT= Library for converting Unicode strings to numbers
|
|
|
|
|
|
|
|
LIB_DEPENDS= gmp.7:${PORTSDIR}/math/libgmp4
|
|
|
|
|
2007-01-08 02:23:41 +01:00
|
|
|
USE_GCC= 3.2+
|
2007-01-07 15:38:30 +01:00
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
CONFIGURE_ENV+= LDFLAGS="${LDFLAGS}"
|
|
|
|
MAKE_ENV+= INCLUDES="-I${LOCALBASE}/include"
|
|
|
|
LDFLAGS+= -L${LOCALBASE}/lib
|
|
|
|
USE_LDCONFIG= yes
|
2007-02-26 11:40:20 +01:00
|
|
|
|
|
|
|
MAN1= numconv.1
|
2007-01-07 15:38:30 +01:00
|
|
|
|
|
|
|
post-patch:
|
|
|
|
${REINPLACE_CMD} -e 's|uninum/||' ${WRKSRC}/uninum.c ${WRKSRC}/numconv.c
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|