blob: 6e37ae68f4dfbb7e33356882cf5fcd1cfae3d1fa (
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
41
|
# New ports collection makefile for: libiconv
# Date created: 17 July 2000
# Whom: Maxim Sobolev <sobomax@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= libiconv
PORTVERSION= 1.7.0.1
CATEGORIES= converters devel
MASTER_SITES= ${MASTER_SITE_LOCAL} \
http://www.marcuscom.com/downloads/ \
ftp://ftp.ilog.fr/pub/Users/haible/gnu/ \
${MASTER_SITE_GNU}
MASTER_SITE_SUBDIR= marcus \
${PORTNAME}
MAINTAINER= gnome@FreeBSD.org
USE_LIBTOOL= yes
LIBTOOLFILES= configure libcharset/configure
CONFIGURE_ARGS= --enable-static
INSTALLS_SHLIB= yes
MAN1= iconv.1
MAN3= iconv.3 iconv_open.3 iconv_close.3
.include <bsd.port.pre.mk>
# gperf 2.7.2 required
.if ${OSVERSION} < 430000
BUILD_DEPENDS= ${LOCALBASE}/bin/gperf:${PORTSDIR}/devel/gperf
GPERF= ${LOCALBASE}/bin/gperf
.else
GPERF= /usr/bin/gperf
.endif
pre-build:
@cd ${WRKSRC} ; ${GPERF} -t -L ANSI-C -H aliases_hash -N aliases_lookup -7 -C -k '1,3-11,$$' -i 1 lib/aliases.gperf > lib/aliases.h
.include <bsd.port.post.mk>
|