summaryrefslogtreecommitdiff
path: root/x11/xteddy2/Makefile
diff options
context:
space:
mode:
authorhubertf <hubertf>2000-12-05 22:54:01 +0000
committerhubertf <hubertf>2000-12-05 22:54:01 +0000
commitd681be5297a1ca59d044af01b2251847c0adf2a2 (patch)
tree917e19cc5697ce82e8b58733f1fdaf2e7104acbc /x11/xteddy2/Makefile
parentd6ccf5847e3698211d1bb8f01f2cfc5dac2dd63e (diff)
downloadpkgsrc-d681be5297a1ca59d044af01b2251847c0adf2a2.tar.gz
Teddy bear for your desktop
Normally, xteddy just sits around doing nothing. After all, that's what teddy bears are for. Look at him, talk to him, place heavy windows on top of him, zap him around until he becomes dizzy, do what you like; he will always be your true (albeit virtual) friend. Unlike the original version by Stefan Gustavson, this version can display other image formats, and comes with a number of other images - see xteddy_test. Closes PR 8368 by John A. Maier <johnam@mail.kemper.org>
Diffstat (limited to 'x11/xteddy2/Makefile')
-rw-r--r--x11/xteddy2/Makefile35
1 files changed, 35 insertions, 0 deletions
diff --git a/x11/xteddy2/Makefile b/x11/xteddy2/Makefile
new file mode 100644
index 00000000000..846e2602831
--- /dev/null
+++ b/x11/xteddy2/Makefile
@@ -0,0 +1,35 @@
+# $NetBSD: Makefile,v 1.1.1.1 2000/12/05 22:54:01 hubertf 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
+
+DEPENDS+= imlib-1.9.*:../../graphics/imlib
+
+CONFLICT+= xteddy-1.*
+
+GNU_CONFIGURE= yes
+USE_X11= yes
+
+CONFIGURE_ENV= CPPFLAGS="${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"