From 77b7f6c088fb0ed12b0d97ed90d6870db7598002 Mon Sep 17 00:00:00 2001 From: tron Date: Thu, 12 Nov 1998 23:26:58 +0000 Subject: Install includes and link libraries as suggested by Tero Kivinen in PR pkg/6429. --- graphics/netpbm/Makefile | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'graphics/netpbm/Makefile') diff --git a/graphics/netpbm/Makefile b/graphics/netpbm/Makefile index 206b22b3b9e..dbd5c577a75 100644 --- a/graphics/netpbm/Makefile +++ b/graphics/netpbm/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.19 1998/07/15 11:45:51 tv Exp $ +# $NetBSD: Makefile,v 1.20 1998/11/12 23:26:58 tron Exp $ # DISTNAME= netpbm @@ -31,4 +31,10 @@ post-extract: ${MV} ../*pcx*.? ppm;\ ${MV} ../*rle*.? ../*png*.? pnm +post-install: +.for PBMLIB in pbm pgm pnm ppm + ${INSTALL_DATA} ${WRKSRC}/${PBMLIB}/lib${PBMLIB}.a ${PREFIX}/lib + ${INSTALL_DATA} ${WRKSRC}/${PBMLIB}/${PBMLIB}.h ${PREFIX}/include +.endfor + .include "../../mk/bsd.pkg.mk" -- cgit v1.2.3