aboutsummaryrefslogblamecommitdiff
path: root/ukrainian/iceb/Makefile
blob: ce0bda29736dc8c328b18c002e3723749ba674b9 (plain) (tree)
1
2
3
4
5
6
7
8
9







                                                               
                    
                 








                                                      
                   


                           
                   
                   
                   










                                                                     






                                                                             
# 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_VER=13
USE_AUTOCONF_VER=	213
USE_AUTOMAKE_VER=	14
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>