aboutsummaryrefslogtreecommitdiff
path: root/ukrainian/iceb/Makefile
blob: 91425e12ccbb067f36302bb39cac42f9f1f5bc1f (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
42
43
44
# New ports collection makefile for:	iceb
# Date created:		20 December 2002
# Whom:			Vadim Chekan <vchekan@softline.kiev.ua>
#
# $FreeBSD$
#

PORTNAME=	iceb
PORTVERSION=	5.60
PORTREVISION=	1
CATEGORIES=	ukrainian finance
MASTER_SITES=	http://www.iceb.vinnitsa.com/download/

MAINTAINER=	vchekan@softline.kiev.ua
COMMENT=	Ukrainian accounting system

USE_MYSQL=	yes
WANT_MYSQL_VER=	323
USE_GMAKE=	yes
GNU_CONFIGURE=	yes
USE_LIBTOOL=	yes
USE_AUTOCONF=	yes
USE_AUTOMAKE=	yes
USE_REINPLACE=	yes
USE_BZIP2=	yes
USE_GETOPT_LONG=yes
CONFIGURE_ARGS=	\
		--prefix=${PREFIX} \
		--with-lang=ua \
		--with-lock-dir=/var/spool/lock \
		--with-config-path=${PREFIX}/etc/iceb \
		--with-lang-path=${PREFIX}/share/nls/uk_UA.KOI8-U
CFLAGS+=	-I${LOCALBASE}/include/mysql -L${LOCALBASE}/lib/mysql
CONFIGURE_ENV=	ICEB_DB_LIB=${LOCALBASE}/lib/mysql

.include <bsd.port.pre.mk>

post-patch:
	${REINPLACE_CMD} -e 's,/usr/local,${PREFIX},g' ${WRKSRC}/configure.in

pre-configure:
	${MKDIR} ${PREFIX}/share/nls/uk_UA.KOI8-U

.include <bsd.port.post.mk>