1999-08-25 05:41:14 +00:00
|
|
|
# New ports collection makefile for: ami
|
|
|
|
# Date created: 05 Jun 1999
|
|
|
|
# Whom: CHOI Junho <cjh@kr.freebsd.org>
|
|
|
|
#
|
1999-08-30 12:09:14 +00:00
|
|
|
# $FreeBSD$
|
1999-08-25 05:41:14 +00:00
|
|
|
#
|
|
|
|
|
2000-04-13 09:17:26 +00:00
|
|
|
PORTNAME= ami
|
2011-08-26 21:54:12 +00:00
|
|
|
PORTVERSION= 1.2.3
|
2012-06-01 05:26:28 +00:00
|
|
|
PORTREVISION= 1
|
2002-03-20 01:23:28 +00:00
|
|
|
CATEGORIES= korean x11
|
2011-08-26 21:54:12 +00:00
|
|
|
MASTER_SITES= http://kldp.net/frs/download.php/942/ \
|
2003-09-09 13:36:03 +00:00
|
|
|
http://www.kr.freebsd.org/~hwang/ami/:hjdic \
|
2003-09-09 10:15:16 +00:00
|
|
|
ftp://ftp.kr.freebsd.org/pub/FreeBSD-kr/distfiles/:amidic
|
2003-02-18 09:32:54 +00:00
|
|
|
DISTFILES= ${DISTNAME}.tar.gz hanja.dic.gz:hjdic ami.dic:amidic
|
2000-01-29 21:34:46 +00:00
|
|
|
EXTRACT_ONLY= ${DISTNAME}.tar.gz
|
1999-08-25 05:41:14 +00:00
|
|
|
|
2010-01-02 18:14:36 +00:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-03-07 06:14:21 +00:00
|
|
|
COMMENT= Well-known Korean X11 Input Method
|
1999-08-25 05:41:14 +00:00
|
|
|
|
2011-08-26 21:54:12 +00:00
|
|
|
LICENSE= GPLv2
|
|
|
|
|
2004-03-30 19:20:22 +00:00
|
|
|
USE_ICONV= yes
|
2000-10-05 07:22:56 +00:00
|
|
|
USE_GMAKE= yes
|
2003-04-08 01:09:12 +00:00
|
|
|
USE_GNOME= gtk12 gdkpixbuf
|
2000-10-05 07:22:56 +00:00
|
|
|
WANT_GNOME= yes
|
|
|
|
GNU_CONFIGURE= yes
|
2011-08-26 21:54:12 +00:00
|
|
|
|
|
|
|
.if !defined(WITHOUT_NLS)
|
|
|
|
USE_GETTEXT= yes
|
2011-09-23 22:26:39 +00:00
|
|
|
LDFLAGS+= -L${LOCALBASE}/lib
|
|
|
|
CPPFLAGS+= -I${LOCALBASE}/include
|
2011-08-26 21:54:12 +00:00
|
|
|
PLIST_SUB+= NLS=""
|
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+=--disable-nls
|
|
|
|
PLIST_SUB+= NLS="@comment "
|
|
|
|
.endif
|
|
|
|
|
|
|
|
PORTDOCS= AUTHORS ChangeLog NEWS README README.en
|
2000-01-29 21:34:46 +00:00
|
|
|
|
2000-10-05 07:22:56 +00:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
1999-08-31 21:14:46 +00:00
|
|
|
post-build:
|
2011-08-26 21:54:12 +00:00
|
|
|
( cd ${WRKSRC}/hanjadic && ${SETENV} ${MAKE_ENV} ${MAKE} )
|
|
|
|
${GUNZIP_CMD} -cd ${DISTDIR}/hanja.dic.gz > ${WRKDIR}/hanja.dic
|
|
|
|
${CAT} ${DISTDIR}/ami.dic >> ${WRKDIR}/hanja.dic
|
1999-08-25 05:41:14 +00:00
|
|
|
|
1999-08-31 21:14:46 +00:00
|
|
|
post-install:
|
2011-08-26 21:54:12 +00:00
|
|
|
.if !defined(NOPORTDOCS)
|
1999-08-31 21:14:46 +00:00
|
|
|
${MKDIR} ${PREFIX}/share/doc/ami
|
2011-08-26 21:54:12 +00:00
|
|
|
( cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR} )
|
|
|
|
.endif
|
|
|
|
${INSTALL_DATA} ${WRKDIR}/hanja.dic ${DATADIR}
|
1999-08-25 05:41:14 +00:00
|
|
|
|
2000-10-05 07:22:56 +00:00
|
|
|
.include <bsd.port.post.mk>
|