# New ports collection makefile for:	gtkcomm
# Date created:		05 Jun 1999
# Whom:			CHOI Junho <cjh@kr.freebsd.org>
#
# $FreeBSD: ports/korean/gtkcomm/Makefile,v 1.12 2003/03/07 06:05:12 ade Exp $
#

PORTNAME=	gtkcomm
PORTVERSION=	0.6.4
CATEGORIES=	korean comms
MASTER_SITES=	http://download.kldp.net/gtkcomm/

MAINTAINER=	cjh@kr.freebsd.org
COMMENT=	Serial controlling software, with gtk+ widget

RUN_DEPENDS=	${X11BASE}/lib/X11/fonts/local/gulim12.pcf.gz:${PORTSDIR}/korean/baekmukfonts-bdf

USE_X_PREFIX=	yes
USE_IMLIB=	yes
GNU_CONFIGURE=	yes

pre-patch:
	@${PERL} -pi -e 's^-l(pthread|c_r)^${PTHREAD_LIBS}^g ; \
		 s|DATADIRNAME=lib|DATADIRNAME=share|g' ${WRKSRC}/configure

.include <bsd.port.mk>
