aboutsummaryrefslogtreecommitdiffstats
path: root/japanese/xklock/Makefile
blob: 49df1ae5f591b21fbf88a67a09ed0bbb390e182f (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
# New ports collection makefile for:    xklock
# Date created:     20 April 1997
# Whom:         nkazushi@highway.or.jp
#
# $FreeBSD$
#

PORTNAME=   xklock
PORTVERSION=    2.7.1
PORTREVISION=   1
CATEGORIES= japanese x11
MASTER_SITES=   ${MASTER_SITE_LOCAL}
MASTER_SITE_SUBDIR= trevor
DISTNAME=   ${PORTNAME}-${PORTVERSION:R}

PATCH_SITES=    ${MASTER_SITES}
PATCHFILES= ${DISTNAME}+lx.diff.gz
PATCH_DIST_STRIP=   -p1

FORBIDDEN=  "Exploitable buffer overflows"

MAINTAINER= ports@FreeBSD.org

NO_WRKSUBDIR=   yes
USE_X_PREFIX=   yes
USE_XPM=    yes

pre-configure:
.for file in jnames.c xklock.h
    @${PERL} -pi -e "s:%%PREFIX%%:${PREFIX}:" ${WRKSRC}/${file}
.endfor

do-install:
    ${INSTALL_PROGRAM} -m 4755 ${WRKSRC}/xklock ${PREFIX}/bin
    @${MKDIR} ${PREFIX}/lib/X11/xklock
    ${TOUCH} ${PREFIX}/lib/X11/xklock/jnames

.include <bsd.port.mk>