diff options
author | zuntum <zuntum@pkgsrc.org> | 2001-06-29 22:49:52 +0000 |
---|---|---|
committer | zuntum <zuntum@pkgsrc.org> | 2001-06-29 22:49:52 +0000 |
commit | 9396781da8c762ce000187b7e7d1f700e560c417 (patch) | |
tree | 58841a2467a4e2f531f948d7635cf60c18d528d2 /graphics/png2html | |
parent | 2c8e6cc97b8e4fed3873332a961eb2f38a58305f (diff) | |
download | pkgsrc-9396781da8c762ce000187b7e7d1f700e560c417.tar.gz |
Converted to use buildlink.mk files
Diffstat (limited to 'graphics/png2html')
-rw-r--r-- | graphics/png2html/Makefile | 6 | ||||
-rw-r--r-- | graphics/png2html/distinfo | 4 | ||||
-rw-r--r-- | graphics/png2html/patches/patch-aa | 9 |
3 files changed, 11 insertions, 8 deletions
diff --git a/graphics/png2html/Makefile b/graphics/png2html/Makefile index 24b405bc5da..a48a6faa41d 100644 --- a/graphics/png2html/Makefile +++ b/graphics/png2html/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.3 2001/03/04 09:06:14 tron Exp $ +# $NetBSD: Makefile,v 1.4 2001/06/29 22:49:52 zuntum Exp $ # DISTNAME= png2html-1.1 @@ -9,7 +9,8 @@ MAINTAINER= hubertf@netbsd.org HOMEPAGE= http://www.engr.mun.ca/~holden/png2html.html COMMENT= Takes a PNG image and transforms it to a web page -DEPENDS+= gd>=1.8.3:../../graphics/gd +USE_BUILDLINK_ONLY= YES +CFLAGS+= -L${BUILDLINK_DIR}/lib -L${X11BASE}/lib -Wl,-R${X11BASE}/lib -Wl,-R${LOCALBASE}/lib do-install: ${INSTALL_MAN_DIR} ${PREFIX}/share/doc/png2html @@ -18,4 +19,5 @@ do-install: ${INSTALL_MAN} ${WRKSRC}/CHANGES ${PREFIX}/share/doc/png2html ${INSTALL_PROGRAM} ${WRKSRC}/png2html ${PREFIX}/bin +.include "../../graphics/gd/buildlink.mk" .include "../../mk/bsd.pkg.mk" diff --git a/graphics/png2html/distinfo b/graphics/png2html/distinfo index 66af97404a0..12c50bf881a 100644 --- a/graphics/png2html/distinfo +++ b/graphics/png2html/distinfo @@ -1,5 +1,5 @@ -$NetBSD: distinfo,v 1.2 2001/04/21 09:54:24 wiz Exp $ +$NetBSD: distinfo,v 1.3 2001/06/29 22:49:52 zuntum Exp $ SHA1 (png2html-1.1.tar.gz) = de8b5ae25ab2b0a27bec9f4bbd219aab5fbd1352 Size (png2html-1.1.tar.gz) = 9572 bytes -SHA1 (patch-aa) = 0748514685961935607729c24fb5c73fd6f04328 +SHA1 (patch-aa) = ce0a3d530a122aaea8fdc5696a00afa32fcb18dc diff --git a/graphics/png2html/patches/patch-aa b/graphics/png2html/patches/patch-aa index 23a94a82b18..bdde0b92a3a 100644 --- a/graphics/png2html/patches/patch-aa +++ b/graphics/png2html/patches/patch-aa @@ -1,13 +1,14 @@ -$NetBSD: patch-aa,v 1.3 2000/12/16 01:42:35 wiz Exp $ +$NetBSD: patch-aa,v 1.4 2001/06/29 22:49:52 zuntum Exp $ --- Makefile.orig Sat Nov 13 23:42:36 1999 -+++ Makefile Mon Oct 23 18:50:04 2000 ++++ Makefile @@ -1,7 +1,7 @@ # Makefile for png2html, (c) 1999 Geoff Holden - CC = gcc +-CC = gcc -CFLAGS = -O2 -Wall -lpng -lgd -+CFLAGS = -O2 -Wall -I${LOCALBASE}/include -L${X11BASE}/lib -L${LOCALBASE}/lib -Wl,-R${X11BASE}/lib -Wl,-R${LOCALBASE}/lib -lgd ++CC ?= gcc ++CFLAGS += -Wall -lgd all: png2html |