pkgsrc/x11/xteddy2/Makefile
jlam c4e71c5e7a CPPFLAGS is now passed to MAKE_ENV and CONFIGURE_ENV by bsd.pkg.mk, so
adapt by moving CPPFLAGS settings to top-level, and removing explicit
inclusion of CPPFLAGS into MAKE_ENV and CONFIGURE_ENV.
2001-06-11 06:34:17 +00:00

36 lines
960 B
Makefile

# $NetBSD: Makefile,v 1.3 2001/06/11 06:34:59 jlam 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"