2005-05-09 00:59:07 +02:00
|
|
|
# New ports collection makefile for: scim-input-pad
|
|
|
|
# Date created: 2005/05/06
|
|
|
|
# Whom: chinsan <chinsan@mail2000.com.tw>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= scim-input-pad
|
2006-02-09 05:06:35 +01:00
|
|
|
PORTVERSION= 0.1.1
|
2008-06-06 16:17:21 +02:00
|
|
|
PORTREVISION= 6
|
2005-05-09 00:59:07 +02:00
|
|
|
CATEGORIES= textproc
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
|
|
MASTER_SITE_SUBDIR=scim
|
|
|
|
|
2006-10-03 17:34:44 +02:00
|
|
|
MAINTAINER= chinsan@FreeBSD.org
|
2005-05-09 00:59:07 +02:00
|
|
|
COMMENT= SCIM add-on to input various symbols with on-screen pad
|
|
|
|
|
|
|
|
BUILD_DEPENDS= scim:${PORTSDIR}/textproc/scim
|
|
|
|
RUN_DEPENDS= ${BUILD_DEPENDS}
|
|
|
|
|
- Remove unneeded dependency from gtk12/gtk20 [1]
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG
- Remove X11BASE support in favor of LOCALBASE or PREFIX
- Use USE_LDCONFIG instead of INSTALLS_SHLIB
- Remove unneeded USE_GCC 3.4+
Thanks to all Helpers:
Dmitry Marakasov, Chess Griffin, beech@, dinoex, rafan, gahr,
ehaupt, nox, itetcu, flz, pav
PR: 116263
Tested on: pointyhat
Approved by: portmgr (pav)
2008-04-19 19:56:05 +02:00
|
|
|
USE_LDCONFIG= yes
|
2007-02-10 07:05:06 +01:00
|
|
|
USE_AUTOTOOLS= libtool:15
|
2005-05-09 00:59:07 +02:00
|
|
|
USE_GMAKE= yes
|
2006-02-23 11:40:44 +01:00
|
|
|
GNU_CONFIGURE= yes
|
2005-05-09 00:59:07 +02:00
|
|
|
CONFIGURE_ENV+= CPPFLAGS="-I${LOCALBASE}/include -D__STDC_ISO_10646__" \
|
2006-07-17 14:46:43 +02:00
|
|
|
LDFLAGS="-L${LOCALBASE}/lib"
|
|
|
|
|
|
|
|
.if !defined(WITHOUT_NLS)
|
|
|
|
USE_GETTEXT= yes
|
|
|
|
PLIST_SUB+= NLS=""
|
|
|
|
USE_GNOME= intlhack
|
|
|
|
CPPFLAGS+= -I${LOCALBASE}/include
|
|
|
|
LDFLAGS+= -L${LOCALBASE}/lib
|
|
|
|
CONFIGURE_ENV+= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
|
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+=--disable-nls
|
|
|
|
PLIST_SUB+= NLS="@comment "
|
|
|
|
.endif
|
2005-05-09 00:59:07 +02:00
|
|
|
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
|
|
|
post-install:
|
|
|
|
@${CAT} ${PKGMESSAGE}
|
|
|
|
@${ECHO} To display this message again, type \`pkg_info -D ${PKGNAME}\'
|
|
|
|
|
|
|
|
.include <bsd.port.post.mk>
|