blob: d6f5537d292c1a3bb56779ca1b0888ac5a280366 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
|
# ex:ts=8
# Ports collection makefile for: xvnkb
# Date created: Mon Apr 05, 2004
# Whom: Nguyen Tam Chinh (chinhngt@sectorb.msk.ru)
#
# $FreeBSD$
#
PORTNAME= xvnkb
PORTVERSION= 0.2.9
PORTREVISION= 2
CATEGORIES= vietnamese
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
MAINTAINER= chinhngt@sectorb.msk.ru
COMMENT= A Vietnamese input method for X-Window
USE_XLIB= yes
USE_GNOME= gtk20
GNU_CONFIGURE= yes
USE_LDCONFIG= yes
CONFIGURE_ENV= LOCALBASE="${LOCALBASE}" XLIB_DIR="${X11BASE}"
.if defined(WITHOUT_XFT)
CONFIGURE_ARGS+= --no-xft
.else
LIB_DEPENDS+= Xft.2:${PORTSDIR}/x11-fonts/libXft
.endif
SUB_LIST= PORTVERSION=${PORTVERSION}
SUB_FILES= pkg-message
PLIST_FILES= bin/xvnkb lib/libxvnkb.so lib/libxvnkb.so.0 lib/xvnkb.so.0.2.9
MAN1= xvnkb.1
.include <bsd.port.pre.mk>
.if ${OSVERSION} < 502110
RUN_DEPENDS+= ${LOCALBASE}/share/locale/la_LN.UTF-8/LC_CTYPE:${PORTSDIR}/misc/utf8locale
.endif
post-patch:
@${REINPLACE_CMD} -e 's,/usr/X11R6,${X11BASE},g' ${WRKSRC}/tools/Makefile.dep
post-install:
@${STRIP_CMD} ${PREFIX}/bin/xvnkb
${INSTALL_MAN} ${FILESDIR}/xvnkb.1 ${MANPREFIX}/man/man1
@${CAT} ${PKGMESSAGE}
.include <bsd.port.post.mk>
|