1998-02-28 18:29:19 -05:00
|
|
|
# New ports collection makefile for: xklock
|
|
|
|
# Version required: 2.54
|
|
|
|
# Date created: 20 April 1997
|
|
|
|
# Whom: nkazushi@highway.or.jp
|
|
|
|
#
|
1998-08-05 05:31:52 -04:00
|
|
|
# $Id: Makefile,v 1.1.1.1 1998/02/28 23:29:17 obrien Exp $
|
1998-02-28 18:29:19 -05:00
|
|
|
#
|
|
|
|
|
|
|
|
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}
|
1998-08-05 05:31:52 -04:00
|
|
|
USE_X_PREFIX= yes
|
1998-02-28 18:29:19 -05:00
|
|
|
|
|
|
|
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>
|