summaryrefslogtreecommitdiffstats
path: root/korean/ami
diff options
context:
space:
mode:
authorcjh <cjh@FreeBSD.org>2002-03-20 01:23:28 +0000
committercjh <cjh@FreeBSD.org>2002-03-20 01:23:28 +0000
commita9bb0109c9d805f092a15ff4a9225340c7e947f1 (patch)
tree30080191e744eeb12197f5c4fabdcf83d85ba3fe /korean/ami
parente9a6d8f14ab42b6aaba3833e232b198e3a8b3394 (diff)
downloadFreeBSD-ports-a9bb0109c9d805f092a15ff4a9225340c7e947f1.zip
FreeBSD-ports-a9bb0109c9d805f092a15ff4a9225340c7e947f1.tar.gz
- remove GNOME applet support by default.
it will solve inconsistency problem when release package building. (there is ko-ami-gnome packages in FTP, but ko-ami in INDEX) - display messages to help for users to use WITH*_GNOME or not. Submitted by: suk-youk park <p3827755@kornet.net>, Seungryun Lee <micherin@korea.com>
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 d68a016..7c22b7b 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; \
OpenPOWER on IntegriCloud