diff options
author | jlam <jlam@pkgsrc.org> | 2001-07-31 05:27:30 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2001-07-31 05:27:30 +0000 |
commit | cf0199f109f90698a19c5231104f53ddc4409863 (patch) | |
tree | e151d501e28783b2b6fb0ddb47b59ef36494c747 /graphics/magicpoint/Makefile | |
parent | 23f160399baef423b3792edf49a77781cee23550 (diff) | |
download | pkgsrc-cf0199f109f90698a19c5231104f53ddc4409863.tar.gz |
* Add a some more graphics capability to magicpoint by adding a dependency on
graphics/mng.
* Convert to use buildlink.mk files and mark as USE_BUILDLINK_ONLY.
* Replace definition of XMKMF with one that takes xpkgwedge/buildlink into
account. Fixes pkg/13588 by Luke Mewburn <lukem@wasabisystems.com>.
Diffstat (limited to 'graphics/magicpoint/Makefile')
-rw-r--r-- | graphics/magicpoint/Makefile | 20 |
1 files changed, 12 insertions, 8 deletions
diff --git a/graphics/magicpoint/Makefile b/graphics/magicpoint/Makefile index 6652c6d937b..f78875c8fe0 100644 --- a/graphics/magicpoint/Makefile +++ b/graphics/magicpoint/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.24 2001/06/12 20:33:03 jlam Exp $ +# $NetBSD: Makefile,v 1.25 2001/07/31 05:27:30 jlam Exp $ DISTNAME= magicpoint-1.08a CATEGORIES= x11 graphics @@ -8,21 +8,20 @@ MAINTAINER= itojun@itojun.org HOMEPAGE= http://www.Mew.org/mgp/ COMMENT= X11 based presentation tool -DEPENDS+= freetype-lib>=1.3.1:../../graphics/freetype-lib -DEPENDS+= png>=1.0.11:../../graphics/png - CONFLICTS= mgp-* +USE_BUILDLINK_ONLY= yes GNU_CONFIGURE= yes USE_IMAKE= yes -CONFIGURE_ARGS= --disable-vflib --enable-freetype-charset16 \ - --enable-locale -LIBS= -Wl,-R${LOCALBASE}/lib -L${LOCALBASE}/lib -Wl,-R${X11BASE}/lib -L${X11BASE}/lib -lintl # needed so -lttf works +CONFIGURE_ARGS+= --enable-freetype-charset16 +CONFIGURE_ARGS+= --disable-vflib +CONFIGURE_ARGS+= --enable-locale +CONFIGURE_ARGS+= --enable-gif # We need to perform the steps normally done by ``xmkmf -a'' since some # files need to be created before ``make depend''. # -XMKMF= ${X11BASE}/bin/xmkmf +XMKMF= ${XMKMF_CMD} ${XMKMF_FLAGS} post-configure: cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${MAKE_PROGRAM} ctlwords.h @@ -44,4 +43,9 @@ post-install: ${INSTALL_DATA} README* *.jpg *.eps *.mgp *.xbm mgprc-sample \ ${PREFIX}/share/examples/mgp +.include "../../graphics/freetype-lib/buildlink.mk" +.include "../../graphics/libungif/buildlink.mk" +.include "../../graphics/mng/buildlink.mk" +.include "../../graphics/png/buildlink.mk" +.include "../../japanese/vflib-lib/buildlink.mk" .include "../../mk/bsd.pkg.mk" |