aboutsummaryrefslogtreecommitdiff
path: root/korean/ami
diff options
context:
space:
mode:
authorCHOI Junho <cjh@FreeBSD.org>2002-03-20 01:23:28 +0000
committerCHOI Junho <cjh@FreeBSD.org>2002-03-20 01:23:28 +0000
commitbcd2484af1c217f49415256578269b7f9dd01a35 (patch)
treef38a40f4bdbe40b4093a5b3967aafa7f2b8a7c32 /korean/ami
parent6eeb52a20f354f06750de0f1a5fd6b520afabfc6 (diff)
downloadports-bcd2484af1c217f49415256578269b7f9dd01a35.tar.gz
ports-bcd2484af1c217f49415256578269b7f9dd01a35.zip
Notes
Diffstat (limited to 'korean/ami')
-rw-r--r--korean/ami/Makefile21
1 files changed, 17 insertions, 4 deletions
diff --git a/korean/ami/Makefile b/korean/ami/Makefile
index d68a0160efb0..7c22b7b36398 100644
--- a/korean/ami/Makefile
+++ b/korean/ami/Makefile
@@ -7,8 +7,8 @@
PORTNAME= ami
PORTVERSION= 1.0.11
-#PORTREVISION= 1
-CATEGORIES= korean x11 gnome
+PORTREVISION= 1
+CATEGORIES= korean x11
MASTER_SITES= http://www.kr.freebsd.org/~hwang/ami/ \
http://master.debian.or.kr/~cwryu/archive/misc/
DISTFILES= ${DISTNAME}.tar.gz hanja.dic.gz ami.dic
@@ -16,21 +16,34 @@ EXTRACT_ONLY= ${DISTNAME}.tar.gz
MAINTAINER= cjh@FreeBSD.org
+LIB_DEPENDS= gdk_pixbuf.2:${PORTSDIR}/graphics/gdk-pixbuf
+
USE_X_PREFIX= yes
+USE_GTK= yes
USE_GMAKE= yes
-USE_GNOMECTRL= yes
WANT_GNOME= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-hangul-keyboard=2 --datadir=${PREFIX}/${DATADIR}
+DATADIR= share
.include <bsd.port.pre.mk>
# gnome support
.if defined(HAVE_GNOME)
USE_GNOME= yes
+USE_GNOMECTRL= yes
CONFIGURE_ARGS+=--enable-gnome-applet
-.endif
DATADIR= share/gnome
+CATEGORIES+= gnome
+.endif
+
+pre-everything:
+.if !defined(HAVE_GNOME)
+ @${ECHO} Define WITH_GNOME=yes if you want to enable GNOME applet support.
+.else
+ @${ECHO} Define WITHOUT_GNOME=yes if you want to build without GNOME
+ @${ECHO} applet support and with minimal dependencies.
+.endif
post-build:
@cd ${WRKSRC}/hanjadic; \