diff options
author | zuntum <zuntum@pkgsrc.org> | 2001-06-26 10:00:05 +0000 |
---|---|---|
committer | zuntum <zuntum@pkgsrc.org> | 2001-06-26 10:00:05 +0000 |
commit | 8b297d083ef692ab4b5d050cbfe108656e0cf901 (patch) | |
tree | 9368ffaa91f8cbddc5e80bb94956fb71de81431b | |
parent | 3c75f0906a1d974b56bddc98dcabdd451714f284 (diff) | |
download | pkgsrc-8b297d083ef692ab4b5d050cbfe108656e0cf901.tar.gz |
o convert to use buildlink.mk
-rw-r--r-- | graphics/apla/Makefile | 13 | ||||
-rw-r--r-- | graphics/apla/distinfo | 3 | ||||
-rw-r--r-- | graphics/apla/patches/patch-aa | 31 |
3 files changed, 40 insertions, 7 deletions
diff --git a/graphics/apla/Makefile b/graphics/apla/Makefile index a5affa78950..6f2a56c6b07 100644 --- a/graphics/apla/Makefile +++ b/graphics/apla/Makefile @@ -1,17 +1,15 @@ -# $NetBSD: Makefile,v 1.1.1.1 2001/06/16 11:40:33 zuntum Exp $ +# $NetBSD: Makefile,v 1.2 2001/06/26 10:00:05 zuntum Exp $ # DISTNAME= apla-1.0 CATEGORIES= graphics -MASTER_SITES= http://zuntum.net/distfiles/ \ - http://pd37.warszawa.sdi.tpnet.pl/NetBSD/ +MASTER_SITES= http://pd37.warszawa.sdi.tpnet.pl/NetBSD/ MAINTAINER= zuntum@netbsd.org,w.wnuk@zodiac.mimuw.edu.pl COMMENT= replacement for aviplay player -DEPENDS+= avifile-*:../../graphics/avifile-devel -DEPENDS+= SDL_ttf-*:../../devel/SDL_ttf -DEPENDS+= libiconv-*:../../converters/libiconv +MAKE_ENV+= SDL_CONFIG="${BUILDLINK_CONFIG_WRAPPER.SDL}" +MAKE_ENV+= AVIFILE_CONFIG="${BUILDLINK_CONFIG_WRAPPER.avifile}" WRKSRC= ${WRKDIR}/apla @@ -19,4 +17,7 @@ do-install: ${INSTALL_PROGRAM} ${WRKSRC}/apla ${PREFIX}/bin ${INSTALL_MAN} ${WRKSRC}/apla.1 ${PREFIX}/man/man1 +.include "../../graphics/avifile/buildlink.mk" +.include "../../devel/SDL_ttf/buildlink.mk" +.include "../../converters/libiconv/buildlink.mk" .include "../../mk/bsd.pkg.mk" diff --git a/graphics/apla/distinfo b/graphics/apla/distinfo index 8832571b260..b6569ca3f76 100644 --- a/graphics/apla/distinfo +++ b/graphics/apla/distinfo @@ -1,4 +1,5 @@ -$NetBSD: distinfo,v 1.1.1.1 2001/06/16 11:40:33 zuntum Exp $ +$NetBSD: distinfo,v 1.2 2001/06/26 10:00:05 zuntum Exp $ SHA1 (apla-1.0.tar.gz) = 0cd8cfe4cccfc144cd07a54f589631d0f2b50fd2 Size (apla-1.0.tar.gz) = 6661 bytes +SHA1 (patch-aa) = 980b5d5d5964127c6fcd5d223f3ea37f1a7ca61b diff --git a/graphics/apla/patches/patch-aa b/graphics/apla/patches/patch-aa new file mode 100644 index 00000000000..782cc07e224 --- /dev/null +++ b/graphics/apla/patches/patch-aa @@ -0,0 +1,31 @@ +$NetBSD: patch-aa,v 1.1 2001/06/26 10:00:05 zuntum Exp $ + +--- Makefile.orig Tue May 22 12:51:09 2001 ++++ Makefile +@@ -1,19 +1,18 @@ + PROG=apla + + LOCALBASE?=/usr/pkg +-X11BASE?=/usr/X11R6 + CC=${CXX} + ++AVIFILE_CONFIG?=${LOCALBASE}/bin/avifile-config ++SDL_CONFIG?=${LOCALBASE}/bin/sdl-config ++ + CFLAGS+= + +-CPPFLAGS+=`${LOCALBASE}/bin/avifile-config --cflags` \ +- `${LOCALBASE}/bin/sdl-config --cflags` \ +- -I${LOCALBASE}/include \ ++CPPFLAGS+=`${AVIFILE_CONFIG} --cflags` \ ++ `${SDL_CONFIG} --cflags` \ + '-DX11BASE="${X11BASE}"' +-LDFLAGS=`${LOCALBASE}/bin/avifile-config --libs` \ +- `${LOCALBASE}/bin/sdl-config --libs` \ +- -L${X11BASE}/lib -Wl,-R${X11BASE}/lib \ +- -L${LOCALBASE}/lib -Wl,-R${LOCALBASE}/lib \ ++LDFLAGS+=`${AVIFILE_CONFIG} --libs` \ ++ `${SDL_CONFIG} --libs` \ + -lSDL_ttf -lttf -liconv -li386 + SRCS=main.cc cmdline.cc help.cc text.cc \ + ${FONTLIBSRCS} |