summaryrefslogtreecommitdiff
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
parentFix probing of Rage128 cards (diff)
- 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>
Notes
Notes: svn path=/head/; revision=56361
-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; \