diff options
author | jlam <jlam@pkgsrc.org> | 2000-06-21 08:12:37 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2000-06-21 08:12:37 +0000 |
commit | f9b014eeb9c15727767fbc831d0c531ecfb065e1 (patch) | |
tree | 9f0f6fe27fc08327f65d55e39c3195d378d603d4 /games/xracer/Makefile | |
parent | 6f51cd01e1ebab3d2be4e985d3b44ec8b65c5633 (diff) | |
download | pkgsrc-f9b014eeb9c15727767fbc831d0c531ecfb065e1.tar.gz |
USE_LIBTOOL instead of PKGLIBTOOL.
Remove unneeded dependency on mpeg-lib.
Add dependency on gettext.
Clean up Makefile logic.
Diffstat (limited to 'games/xracer/Makefile')
-rw-r--r-- | games/xracer/Makefile | 42 |
1 files changed, 23 insertions, 19 deletions
diff --git a/games/xracer/Makefile b/games/xracer/Makefile index 10bcff3889d..f131567439b 100644 --- a/games/xracer/Makefile +++ b/games/xracer/Makefile @@ -1,26 +1,30 @@ -# $NetBSD: Makefile,v 1.2 2000/06/01 11:23:26 rh Exp $ +# $NetBSD: Makefile,v 1.3 2000/06/21 08:12:37 jlam Exp $ # -DISTNAME= xracer-0.96.9 -CATEGORIES= games x11 -MASTER_SITES= http://xracer.annexia.org/files/ +DISTNAME= xracer-0.96.9 +CATEGORIES= games x11 +MASTER_SITES= http://xracer.annexia.org/files/ -MAINTAINER= bsieker@freenet.de -HOMEPAGE= http://xracer.annexia.org/ +MAINTAINER= bsieker@freenet.de +HOMEPAGE= http://xracer.annexia.org/ -DEPENDS+= perl-*:../../lang/perl5 -DEPENDS+= Mesa-*:../../graphics/Mesa -DEPENDS+= mpeg-*:../../graphics/mpeg-lib -DEPENDS+= jpeg>=6:../../graphics/jpeg +DEPENDS+= Mesa-*:../../graphics/Mesa +DEPENDS+= jpeg-*:../../graphics/jpeg +DEPENDS+= gettext-0.10.*:../../devel/gettext -USE_X11= YES -USE_GMAKE= YES -GNU_CONFIGURE= YES -CONFIGURE_ENV+= CPPFLAGS="-I${LOCALBASE}/include" -CONFIGURE_ENV+= LDFLAGS="-Wl,-R${LOCALBASE}/lib -L${LOCALBASE}/lib -lintl" +USE_X11= # defined +USE_GMAKE= # defined +USE_PERL5= # defined +PERL= ${LOCALBASE}/bin/perl -USE_PKGLIBTOOL= YES -LTCONFIG_OVERRIDE=${WRKSRC}/ltconfig +USE_LIBTOOL= # defined +LTCONFIG_OVERRIDE= ${WRKSRC}/ltconfig + +GNU_CONFIGURE= # defined +CONFIGURE_ENV+= CPPFLAGS="${CPPFLAGS}" + +CPPFLAGS+= -I${LOCALBASE}/include +CPPFLAGS+= -I${X11BASE}/include pre-patch: .for perlfile in blender2track/xracer-blender2track.pl \ @@ -30,8 +34,8 @@ pre-patch: mkcraft/xracer-mkcraft.pl \ mkmeshnotex/xracer-mkmeshnotex.pl @${CP} ${WRKSRC}/tools/${perlfile} ${WRKSRC}/tools/${perlfile}.BAK - @${SED} 's!/usr/bin/perl!${LOCALBASE}/bin/perl!g' \ - < ${WRKSRC}/tools/${perlfile}.BAK > ${WRKSRC}/tools/${perlfile} + @${SED} 's!/usr/bin/perl!${PERL}!g' \ + < ${WRKSRC}/tools/${perlfile}.BAK > ${WRKSRC}/tools/${perlfile} @${RM} ${WRKSRC}/tools/${perlfile}.BAK .endfor |