bf330a57d4
PR: ports/144487 Submitted by: ale Approved by: portmgr (-exp run by erwin)
30 lines
676 B
Makefile
30 lines
676 B
Makefile
# New ports collection makefile for: libuninum
|
|
# Date created: 2007-01-07
|
|
# Whom: Cheng-Lung Sung <clsung@FreeBSD.org>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= libuninum
|
|
PORTVERSION= 2.7
|
|
PORTREVISION= 2
|
|
CATEGORIES= devel
|
|
MASTER_SITES= http://billposer.org/Software/Downloads/
|
|
|
|
MAINTAINER= clsung@FreeBSD.org
|
|
COMMENT= Library for converting Unicode strings to numbers
|
|
|
|
LIB_DEPENDS= gmp.10:${PORTSDIR}/math/gmp
|
|
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ENV+= LDFLAGS="${LDFLAGS}"
|
|
MAKE_ENV+= INCLUDES="-I${LOCALBASE}/include"
|
|
LDFLAGS+= -L${LOCALBASE}/lib
|
|
USE_LDCONFIG= yes
|
|
|
|
MAN1= numconv.1
|
|
|
|
post-patch:
|
|
${REINPLACE_CMD} -e 's|uninum/||' ${WRKSRC}/uninum.c ${WRKSRC}/numconv.c
|
|
|
|
.include <bsd.port.mk>
|