summaryrefslogtreecommitdiff
path: root/x11/afterstep/Makefile
blob: d081114f6069e80479beda33502b751e5253dde9 (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
# $NetBSD: Makefile,v 1.7 1999/01/30 23:18:55 agc Exp $

DISTNAME=		AfterStep-1.6.0
PKGNAME=		afterstep-1.6.0
CATEGORIES=		x11
MASTER_SITES=		ftp://ftp.afterstep.org/pub/stable/ \
			ftp://ftp.digex.net/pub/os/wm/AfterStep/stable/

MAINTAINER=		root@garbled.net
HOMEPAGE=		http://www.afterstep.org/

DEPENDS+=		xpm-3.4k:../../graphics/xpm
DEPENDS+=		jpeg-6b:../../graphics/jpeg
DEPENDS+=		png-1.0.2:../../graphics/png
DEPENDS+=		rplay-3.2.0b6:../../audio/rplay
DEPENDS+=		asclock-11:../../x11/asclock

CONFLICTS=		afterstep-*

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 \
	  ${CP} $$i $$i.orig ;\
	  ${SED} -e 's@/usr/local/@${PREFIX}/@g' < $$i.orig > $$i ; \
	done

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