mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-30 21:49:25 +00:00
7089c0f338
Due to the age of this software (circa 1990) and it's reliance on being suid, this port needs a thorough audit before clearing.
39 lines
854 B
Makefile
39 lines
854 B
Makefile
# 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>
|