summaryrefslogtreecommitdiffstats
path: root/japanese/xklock/Makefile
blob: 775255bc67641d18dc22499697582c85c7df3394 (plain)
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
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:
	@${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>
OpenPOWER on IntegriCloud