summaryrefslogtreecommitdiff
path: root/x11/xview-clients/Makefile
blob: 9c668e0b848f960bc65e64435688a068ccee8971 (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
# $NetBSD: Makefile,v 1.12 2000/10/16 06:39:28 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=		jlam@netbsd.org

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

# Need the following for xvmkmf
DEPENDS+=		xview-config>=3.2.1nb1:../../xview-config

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"