freebsd-ports/korean/ami/Makefile
Edwin Groothuis 5977e245e7 korean/ami: fix libintl dependency => avoid conflicts with other ports
This port did not pick up the two libraries mentioned.

	One possitive side effect of getting the libintl dependency
	right, is that the port does not build its included version
	of the gettext library and does not install those two .alias
	that were conflicting with other ports (have a look at the
	pkg-plist diff and you'll see what I mean)

	http://freebsd.rambler.ru/bsdmail/freebsd-ports_2003/msg08919.html

PR:		ports/58440
Submitted by:	Simon Barner <barner@in.tum.de>
Approved by:	maintainer timeout
2004-01-12 00:13:18 +00:00

50 lines
1.3 KiB
Makefile

# New ports collection makefile for: ami
# Date created: 05 Jun 1999
# Whom: CHOI Junho <cjh@kr.freebsd.org>
#
# $FreeBSD$
#
PORTNAME= ami
PORTVERSION= 1.2.2
CATEGORIES= korean x11
MASTER_SITES= http://download.kldp.net/ami/ \
http://www.kr.freebsd.org/~hwang/ami/:hjdic \
ftp://ftp.kr.freebsd.org/pub/FreeBSD-kr/distfiles/:amidic
DISTFILES= ${DISTNAME}.tar.gz hanja.dic.gz:hjdic ami.dic:amidic
EXTRACT_ONLY= ${DISTNAME}.tar.gz
MAINTAINER= cjh@FreeBSD.org
COMMENT= Well-known Korean X11 Input Method
LIB_DEPENDS= intl.5:${PORTSDIR}/devel/gettext \
iconv.3:${PORTSDIR}/converters/libiconv
USE_X_PREFIX= yes
USE_GMAKE= yes
USE_GNOME= gtk12 gdkpixbuf
WANT_GNOME= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-hangul-keyboard=2 --datadir=${PREFIX}/${DATADIR} \
--with-libiconv-prefix=${LOCALBASE} \
--with-gdk-pixbuf-prefix=${X11BASE} \
--with-libintl-prefix=${LOCALBASE}
DATADIR= share
.include <bsd.port.pre.mk>
post-build:
@cd ${WRKSRC}/hanjadic; \
${MAKE_ENV} ${MAKE} ${MAKE_ARGS}
post-install:
${MKDIR} ${PREFIX}/share/doc/ami
.for NAME in AUTHORS README README.en NEWS ChangeLog
${INSTALL_DATA} ${WRKSRC}/${NAME} \
${PREFIX}/share/doc/ami
.endfor
${GUNZIP_CMD} -cd ${DISTDIR}/hanja.dic.gz > \
${PREFIX}/${DATADIR}/ami/hanja.dic
${CAT} ${DISTDIR}/ami.dic >> ${PREFIX}/${DATADIR}/ami/hanja.dic
.include <bsd.port.post.mk>