diff options
author | David E. O'Brien <obrien@FreeBSD.org> | 1998-02-28 23:29:19 +0000 |
---|---|---|
committer | David E. O'Brien <obrien@FreeBSD.org> | 1998-02-28 23:29:19 +0000 |
commit | 499fa575e7ecade0dba17a9cea3e9e1d0f520b50 (patch) | |
tree | a438bf457b3c379426b2ffccad03c2451fc55ff4 /japanese | |
parent | distpatch to help some PGP5 problems. (diff) |
X key lock in the Japanese language.
PR: ports/4061
Submitted by: NAKAMURA Kazushi nkazushi@highway.or.jp
Notes
Notes:
svn path=/head/; revision=9968
Diffstat (limited to 'japanese')
-rw-r--r-- | japanese/xklock/Makefile | 37 | ||||
-rw-r--r-- | japanese/xklock/distinfo | 2 | ||||
-rw-r--r-- | japanese/xklock/files/patch-01 | 42 | ||||
-rw-r--r-- | japanese/xklock/pkg-comment | 1 | ||||
-rw-r--r-- | japanese/xklock/pkg-descr | 3 | ||||
-rw-r--r-- | japanese/xklock/pkg-plist | 3 |
6 files changed, 88 insertions, 0 deletions
diff --git a/japanese/xklock/Makefile b/japanese/xklock/Makefile new file mode 100644 index 000000000000..7c9f71aeee19 --- /dev/null +++ b/japanese/xklock/Makefile @@ -0,0 +1,37 @@ +# New ports collection makefile for: xklock +# Version required: 2.54 +# Date created: 20 April 1997 +# Whom: nkazushi@highway.or.jp +# +# $Id$ +# + +DISTNAME= xklock-2.7 +PKGNAME= ja-xklock-2.7.1 +CATEGORIES= x11 japanese +MASTER_SITES= ftp://ftp.tk.mesh.ad.jp/pub/Linux/JE-sources/X/ \ + ftp://ftp.biol.tsukuba.ac.jp/pub/X/clients/ \ + ftp://ftp.kagoshima-u.ac.jp/pub1/PC/linux-j/JE-sources/X/ \ + ftp://ftp.hitachi.co.jp/pub/linux/colias/pub/linux/JE-0.9.6/sources/X/ + +PATCH_SITES= ${MASTER_SITES} +PATCHFILES= xklock-2.7+lx.diff.gz +PATCH_DIST_STRIP= -p1 + +MAINTAINER= nkazushi@highway.or.jp + +WRKSRC= ${WRKDIR} +USE_X11= yes + +pre-configure: + @${MV} ${WRKDIR}/jnames.c ${WRKDIR}/jnames.c.in + @${SED} -e "s:/usr/local:${PREFIX}:" ${WRKDIR}/jnames.c.in \ + > ${WRKDIR}/jnames.c + @${MV} ${WRKDIR}/xklock.h ${WRKDIR}/xklock.h.in + @${SED} -e "s:/usr/local:${PREFIX}:" ${WRKDIR}/xklock.h.in \ + > ${WRKDIR}/xklock.h + +post-install: + ${TOUCH} ${PREFIX}/lib/jnames + +.include <bsd.port.mk> diff --git a/japanese/xklock/distinfo b/japanese/xklock/distinfo new file mode 100644 index 000000000000..8a5d1546a03d --- /dev/null +++ b/japanese/xklock/distinfo @@ -0,0 +1,2 @@ +MD5 (xklock-2.7.tar.gz) = c3188628d5bc3df22f6bdfc468c8d27c +MD5 (xklock-2.7+lx.diff.gz) = 8114e3bd0843410bcf0ca42dda310b0e diff --git a/japanese/xklock/files/patch-01 b/japanese/xklock/files/patch-01 new file mode 100644 index 000000000000..303bad0a6d36 --- /dev/null +++ b/japanese/xklock/files/patch-01 @@ -0,0 +1,42 @@ +--- Makefile- Sun Apr 20 21:20:12 1997 ++++ Makefile Mon Apr 21 18:29:49 1997 +@@ -4,9 +4,9 @@ + # + + CC = cc +-C_FLAG = -fwritable-strings -DSHADOW -O2 #-DDEBUG -g ++C_FLAG = -fwritable-strings -O2 -m486 -I${PREFIX}/include #-DDEBUG -g + RM_FLAG = -f +-LIB = -lX11 -lXmu -lshadow -lXpm ++LIB = -L${PREFIX}/lib -lX11 -lXmu -lXpm -lcrypt + EXE = xklock + OBJ1 = xklock.o + OBJ2 = jnames.o +@@ -18,14 +18,14 @@ + DOC = xklock.doc readme.doc + TAR = xklock.tar + MAKE = Makefile Makefile.BE +-BIN_DIR = /usr/X386/bin ++BIN_DIR = ${PREFIX}/bin + + all:$(EXE) + + $(EXE):$(OBJ) + $(CC) $(C_FLAG) -o $@ $(OBJ) $(LIB) + +-$(OBJ1):$(SRC1) $(INC) ++$(OBJ1):$(SRC1) + $(CC) $(C_FLAG) -c $(SRC1) + + $(OBJ2):$(SRC2) +--- xklock.c- Mon Apr 21 20:25:29 1997 ++++ xklock.c Mon Apr 21 20:23:36 1997 +@@ -74,7 +74,7 @@ + #ifdef SHADOW + static struct spwd *user_spwd; + #endif +-static char root_password[32], user_password[32]; ++static char root_password[_PASSWORD_LEN], user_password[_PASSWORD_LEN]; + static char *option_name[] = { + "-d", /* 0 */ + "-foreground", /* 1 */ diff --git a/japanese/xklock/pkg-comment b/japanese/xklock/pkg-comment new file mode 100644 index 000000000000..ca6187cc9b70 --- /dev/null +++ b/japanese/xklock/pkg-comment @@ -0,0 +1 @@ +X key lock in the Japanese language. diff --git a/japanese/xklock/pkg-descr b/japanese/xklock/pkg-descr new file mode 100644 index 000000000000..f536cefa4498 --- /dev/null +++ b/japanese/xklock/pkg-descr @@ -0,0 +1,3 @@ +X key lock in the Japanese language. +It needs file:/usr/X11/lib/jnames. If this file is not exist +yet, please touch this file to create it. diff --git a/japanese/xklock/pkg-plist b/japanese/xklock/pkg-plist new file mode 100644 index 000000000000..820d3ab66d83 --- /dev/null +++ b/japanese/xklock/pkg-plist @@ -0,0 +1,3 @@ +bin/xklock +@exec touch %D/lib/jnames +@comment @unexec rm %D/lib/jnames |