summaryrefslogtreecommitdiff
path: root/x11/xview-clients/Makefile
blob: 5ec6f3353a9c399c4688b5cccf71bfaa61907bd0 (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
# $NetBSD: Makefile,v 1.10 2000/09/13 22:19:59 jlam Exp $
# $FreeBSD Id: Makefile,v 1.11 1996/11/16 10:49:52 asami Exp
#

DISTNAME=		xview3.2p1-X11R6
PKGNAME=		xview-clients-3.2.1
CATEGORIES=		x11
MASTER_SITES=		${MASTER_SITE_LOCAL}

MAINTAINER=		packages@netbsd.org

DEPENDS=		xview-lib>=3.2.1:../../x11/xview-lib

NO_SRC_ON_FTP=		Already in MASTER_SITE_LOCAL

EXTRACT_ELEMENTS=	${DISTNAME}/clients ${DISTNAME}/images
WRKSRC=			${WRKDIR}/${DISTNAME}/clients
USE_IMAKE=		# defined
XMKMF=			${X11PREFIX}/bin/xvmkmf -a

post-patch:
	@cd ${WRKSRC};					\
	for file in olwm/openwin-menu-programs; do	\
		${MV} -f $${file} $${file}.tmp;		\
		${SED}	-e "s,@PREFIX@,${PREFIX},g"	\
			-e "s,@X11BASE@,${X11BASE},g"	\
			< $${file}.tmp > $${file};	\
		${RM} -f $${file}.tmp;			\
	done 

.include "../../mk/bsd.pkg.mk"