blob: dc82499fe02303e41f8bc3c460012d38cae81ce2 (
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.4 2001/06/11 21:36:02 zuntum Exp $
DISTNAME= xteddy-2.0.1
CATEGORIES= x11 games
MASTER_SITES= http://www.ITN.LiU.SE/~stegu/xteddy/
MAINTAINER= johnam@mail.kemper.org
HOMEPAGE= http://www.ITN.LiU.SE/~stegu/xteddy/
COMMENT= Teddy bear for your desktop
DEPENDS+= imlib-1.9.*:../../graphics/imlib
CONFLICT+= xteddy-1.*
GNU_CONFIGURE= yes
USE_X11= yes
CPPFLAGS+= -I${X11BASE}/include
LDFLAGS+= -L${X11BASE}/lib -R${X11BASE}/lib # for libImlib
pre-configure:
${SED} \
-e 's|@PREFIX@|${PREFIX}|' \
${WRKSRC}/configure >${WRKSRC}/configure.new
${MV} ${WRKSRC}/configure.new ${WRKSRC}/configure
${CHMOD} 755 ${WRKSRC}/configure
${SED} \
-e 's|@PREFIX@|${PREFIX}|' \
${WRKSRC}/xteddy_test >${WRKSRC}/xteddy_test.new
${MV} ${WRKSRC}/xteddy_test.new ${WRKSRC}/xteddy_test
${SED} \
-e 's|@PREFIX@|${PREFIX}|' \
${WRKSRC}/xtoys >${WRKSRC}/xtoys.new
${MV} ${WRKSRC}/xtoys.new ${WRKSRC}/xtoys
.include "../../mk/bsd.pkg.mk"
|