summaryrefslogtreecommitdiff
path: root/x11/afterstep/Makefile
blob: a3b92e9441eff562e09fa76941d7f1986d094deb (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
# $NetBSD: Makefile,v 1.13 2000/02/05 15:34:03 wiz Exp $

DISTNAME=	AfterStep-1.6.10
PKGNAME=	afterstep-1.6.10
CATEGORIES=	x11
MASTER_SITES=	ftp://ftp.afterstep.org/pub/stable/ \
		ftp://ftp.digex.net/pub/X11/window-managers/afterstep/AfterStep/pub/stable/
EXTRACT_SUFX=	.tar.bz2

MAINTAINER=	packages@netbsd.org
HOMEPAGE=	http://www.afterstep.org/

DEPENDS+=	asclock-1.0:../../x11/asclock
DEPENDS+=	jpeg-6b:../../graphics/jpeg
DEPENDS+=	png-1.0.3:../../graphics/png
DEPENDS+=	rplay-3.2.0b6:../../audio/rplay
DEPENDS+=	xli-1.16:../../graphics/xli
DEPENDS+=	xpm-3.4k:../../graphics/xpm

USE_X11BASE=	yes
GNU_CONFIGURE=	yes

CONFIGURE_ARGS+=	--with-png-includes=${LOCALBASE}/include \
			--with-png-lib=${LOCALBASE}/lib \
			--with-jpeg-includes=${LOCALBASE}/include \
			--with-jpeg-lib=${LOCALBASE}/lib
CONFIGURE_ENV+=		LOCALBASE=${LOCALBASE}

post-patch:
	for i in ` ${FIND} ${WRKSRC} -name "*.man" -print `; do \
	  ${MV} $$i $$i.orig ;\
	  ${SED} -e 's@/usr/local/@${PREFIX}/@g' < $$i.orig > $$i ; \
	  ${RM} $$i.orig ;\
	done

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