diff options
author | obrien <obrien@FreeBSD.org> | 1998-02-28 23:29:19 +0000 |
---|---|---|
committer | obrien <obrien@FreeBSD.org> | 1998-02-28 23:29:19 +0000 |
commit | 88bf73087af6a353424678ea2cb342aca05cf8ad (patch) | |
tree | c1fa2a24eabde09d33150c20c7381abc9924bcd0 /japanese/xklock | |
parent | db71c05ea4888a6e8cf561c1245e562f2832d054 (diff) | |
download | FreeBSD-ports-88bf73087af6a353424678ea2cb342aca05cf8ad.zip FreeBSD-ports-88bf73087af6a353424678ea2cb342aca05cf8ad.tar.gz |
X key lock in the Japanese language.
PR: ports/4061
Submitted by: NAKAMURA Kazushi nkazushi@highway.or.jp
Diffstat (limited to 'japanese/xklock')
-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 0000000..7c9f71a --- /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 0000000..8a5d154 --- /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 0000000..303bad0 --- /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 0000000..ca6187c --- /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 0000000..f536cef --- /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 0000000..820d3ab6 --- /dev/null +++ b/japanese/xklock/pkg-plist @@ -0,0 +1,3 @@ +bin/xklock +@exec touch %D/lib/jnames +@comment @unexec rm %D/lib/jnames |