summaryrefslogtreecommitdiff
path: root/graphics/netpbm/Makefile
diff options
context:
space:
mode:
authortron <tron@pkgsrc.org>1998-11-12 23:26:58 +0000
committertron <tron@pkgsrc.org>1998-11-12 23:26:58 +0000
commit77b7f6c088fb0ed12b0d97ed90d6870db7598002 (patch)
tree5eedc22cbb3e2d0127b3c2fce61bff1d20c8e579 /graphics/netpbm/Makefile
parent3adea051cea75f3d971d7aa49bb21d531d7ceaf9 (diff)
downloadpkgsrc-77b7f6c088fb0ed12b0d97ed90d6870db7598002.tar.gz
Install includes and link libraries as suggested by Tero Kivinen in
PR pkg/6429.
Diffstat (limited to 'graphics/netpbm/Makefile')
-rw-r--r--graphics/netpbm/Makefile8
1 files changed, 7 insertions, 1 deletions
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"