pkgsrc/x11/xteddy2/Makefile
jlam 63fc151cb9 Use x11.buildlink.mk instead of USE_X11. Also convert hard-coded references
to ${X11BASE} in the header and library search paths into references to
${LOCALBASE}/share/x11-links.  These packages should now be strongly-
buildlinked regardless of whether xpkgwedge is installed.

Changes well-tested on NetBSD-1.5X/i386 with and without xpkgwedge and
lightly-tested on NetBSD-1.5.1/alpha without xpkgwedge.
2001-08-29 22:41:00 +00:00

30 lines
795 B
Makefile

# $NetBSD: Makefile,v 1.7 2001/08/29 22:41:32 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
CONFLICT+= xteddy-1.*
USE_BUILDLINK_ONLY= yes
GNU_CONFIGURE= yes
pre-configure:
files="configure xteddy_test xtoys"; \
cd ${WRKSRC}; for file in $${files}; do \
${MV} $${file} $${file}.fixme; \
${SED} -e "s|@PREFIX@|${PREFIX}|g" \
$${file}.fixme >> $${file}; \
if [ -x $${file}.fixme ]; then \
${CHMOD} +x $${file}; \
fi; \
${RM} -f $${file}.fixme; \
done
.include "../../graphics/imlib/buildlink.mk"
.include "../../mk/x11.buildlink.mk"
.include "../../mk/bsd.pkg.mk"