summaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2005-06-16 06:57:37 +0000
committerjlam <jlam@pkgsrc.org>2005-06-16 06:57:37 +0000
commit81edaaa606a86e87c2885489ad72ee9908969aba (patch)
tree3ccd645970d07eb5e027f9f4978696237c5cd04b /graphics
parent8b982bf812954ec2be8cdc97dbf2d9dd2be7779e (diff)
downloadpkgsrc-81edaaa606a86e87c2885489ad72ee9908969aba.tar.gz
Create directories before installing files into them.
Diffstat (limited to 'graphics')
-rw-r--r--graphics/Mesa/Makefile.common3
-rw-r--r--graphics/OpenRM/Makefile4
-rw-r--r--graphics/PanoTools/Makefile3
-rw-r--r--graphics/blender/Makefile4
-rw-r--r--graphics/dcraw/Makefile4
-rw-r--r--graphics/dvdbackup/Makefile4
-rw-r--r--graphics/fly/Makefile4
-rw-r--r--graphics/fujiplay/Makefile4
-rw-r--r--graphics/gdchart/Makefile3
-rw-r--r--graphics/get_ds7/Makefile4
-rw-r--r--graphics/gfract/Makefile4
-rw-r--r--graphics/gif320/Makefile4
-rw-r--r--graphics/giftrans/Makefile4
-rw-r--r--graphics/gimp-rawphoto/Makefile3
-rw-r--r--graphics/gimp-warp-sharp/Makefile4
-rw-r--r--graphics/gmngview/Makefile3
-rw-r--r--graphics/gnome2-pixmaps/Makefile3
-rw-r--r--graphics/iGMT/Makefile3
-rw-r--r--graphics/jpeg2ps/Makefile4
-rw-r--r--graphics/jpeg_ls/Makefile3
-rw-r--r--graphics/metacam/Makefile3
-rw-r--r--graphics/mpgtx/Makefile4
-rw-r--r--graphics/phpsview/Makefile3
-rw-r--r--graphics/ploticus/Makefile4
-rw-r--r--graphics/png2html/Makefile4
-rw-r--r--graphics/pngcrush/Makefile3
-rw-r--r--graphics/ppmtoxvpic/Makefile4
-rw-r--r--graphics/prag/Makefile4
-rw-r--r--graphics/py-gdchart/Makefile4
-rw-r--r--graphics/rayshade/Makefile3
-rw-r--r--graphics/resize_image/Makefile4
-rw-r--r--graphics/s10sh/Makefile4
-rw-r--r--graphics/vid/Makefile4
-rw-r--r--graphics/xdvipresent/Makefile4
-rw-r--r--graphics/xzgv/Makefile3
35 files changed, 92 insertions, 35 deletions
diff --git a/graphics/Mesa/Makefile.common b/graphics/Mesa/Makefile.common
index d261b562f9f..1fdbb02fc5a 100644
--- a/graphics/Mesa/Makefile.common
+++ b/graphics/Mesa/Makefile.common
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.42 2005/06/01 18:02:54 jlam Exp $
+# $NetBSD: Makefile.common,v 1.43 2005/06/16 06:57:57 jlam Exp $
DISTNAME= MesaLib-${MESA_VERSION}
DISTFILES= ${DISTNAME}${EXTRACT_SUFX}
@@ -57,6 +57,7 @@ BUILD_TARGET= pkgsrc
pre-install:
@if [ -n "${INSTLIBS}" ]; then \
${ECHO_MSG} "Installing libraries."; \
+ ${INSTALL_LIB_DIR} ${PREFIX}/lib; \
for lib in ${INSTLIBS}; do \
${LIBTOOL} --mode=install ${INSTALL_LIB} \
$${lib} ${PREFIX}/lib; \
diff --git a/graphics/OpenRM/Makefile b/graphics/OpenRM/Makefile
index 8e4fe503d84..03915e2841a 100644
--- a/graphics/OpenRM/Makefile
+++ b/graphics/OpenRM/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.8 2005/06/01 18:02:54 jlam Exp $
+# $NetBSD: Makefile,v 1.9 2005/06/16 06:57:57 jlam Exp $
#
DISTNAME= openrm-devel-1.5.2
@@ -16,6 +16,8 @@ BUILD_TARGET= freebsd docs
MAKE_ENV+= AR=${AR} RM=${RM} CP=${CP} LN=${LN} ECHO_CMD=${ECHO} \
STRIP_CMD=${ECHO}
+INSTALLATION_DIRS= lib
+
post-patch:
${MV} ${WRKSRC}/doc/sortlist.pl ${WRKSRC}/doc/sortlist.pl.orig && \
${SED} -e 's|%%PERLBIN%%|${PERL5}|g' \
diff --git a/graphics/PanoTools/Makefile b/graphics/PanoTools/Makefile
index 8f3b976ac52..e7446a91f7f 100644
--- a/graphics/PanoTools/Makefile
+++ b/graphics/PanoTools/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.14 2005/06/01 18:02:54 jlam Exp $
+# $NetBSD: Makefile,v 1.15 2005/06/16 06:57:57 jlam Exp $
#
DISTNAME= PanoTools
@@ -21,6 +21,7 @@ NO_BUILD= YES
PKG_JVM?= sun-jdk
PLIST_SUBST+= JAVA_HOME="${PKG_JAVA_HOME:C/^${PREFIX}\///}"
+INSTALLATION_DIRS= bin lib
.include "../../mk/x11.buildlink3.mk"
diff --git a/graphics/blender/Makefile b/graphics/blender/Makefile
index 6eb804f7e31..c61f27809a3 100644
--- a/graphics/blender/Makefile
+++ b/graphics/blender/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.44 2005/06/02 14:14:43 wiz Exp $
+# $NetBSD: Makefile,v 1.45 2005/06/16 06:57:57 jlam Exp $
#
DISTNAME= blender-2.36
@@ -22,6 +22,8 @@ LDFLAGS+= -lcrypto
.include "options.mk"
+INSTALLATION_DIRS= bin
+
post-patch:
${MV} ${WRKSRC}/SConstruct ${WRKSRC}/SConstruct.orig
${AWK} '{print} NR == 54 {print "env.Append(LINKFLAGS = \"-Wl,-R${X11BASE}/lib,-R${LOCALBASE}/lib\")"}' ${WRKSRC}/SConstruct.orig > ${WRKSRC}/SConstruct
diff --git a/graphics/dcraw/Makefile b/graphics/dcraw/Makefile
index 673e244c987..63fbcaa64aa 100644
--- a/graphics/dcraw/Makefile
+++ b/graphics/dcraw/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.19 2005/05/06 04:33:30 markd Exp $
+# $NetBSD: Makefile,v 1.20 2005/06/16 06:57:57 jlam Exp $
#
DISTNAME= dcraw
@@ -15,6 +15,8 @@ WRKSRC= ${WRKDIR}
DIST_SUBDIR= ${PKGNAME_NOREV}
LIBS+= -lm -ljpeg
+INSTALLATION_DIRS= bin man/man1
+
do-extract:
(cd ${DISTDIR}/${DIST_SUBDIR} && ${CP} ${DISTFILES} ${WRKSRC})
diff --git a/graphics/dvdbackup/Makefile b/graphics/dvdbackup/Makefile
index bd855cd3624..4a45b76b87d 100644
--- a/graphics/dvdbackup/Makefile
+++ b/graphics/dvdbackup/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.8 2005/04/11 21:46:01 tv Exp $
+# $NetBSD: Makefile,v 1.9 2005/06/16 06:57:57 jlam Exp $
DISTNAME= dvdbackup-0.1.1
PKGREVISION= 2
@@ -11,6 +11,8 @@ COMMENT= DVD backup utility
WRKSRC= ${WRKDIR}/dvdbackup/src
+INSTALLATION_DIRS= bin
+
do-build:
cd ${WRKSRC}; \
${CC} -o dvdbackup dvdbackup.c ${CFLAGS} ${LDFLAGS} -ldvdread
diff --git a/graphics/fly/Makefile b/graphics/fly/Makefile
index 974650c7420..b0526881abf 100644
--- a/graphics/fly/Makefile
+++ b/graphics/fly/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.28 2005/06/01 18:02:55 jlam Exp $
+# $NetBSD: Makefile,v 1.29 2005/06/16 06:57:57 jlam Exp $
DISTNAME= fly-1.6.5
PKGREVISION= 6
@@ -18,6 +18,8 @@ REPLACE_PERL= examples/cgi-perl-example.pl \
examples/size.pl \
examples/perl.example
+INSTALLATION_DIRS= bin
+
pre-configure:
${SED} -e 's|@PREFIX@|${PREFIX}|g' \
< ${WRKSRC}/examples/cgi-perl-example.pl \
diff --git a/graphics/fujiplay/Makefile b/graphics/fujiplay/Makefile
index e7a8618f524..31613327c7a 100644
--- a/graphics/fujiplay/Makefile
+++ b/graphics/fujiplay/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.10 2005/04/23 10:55:59 jmmv Exp $
+# $NetBSD: Makefile,v 1.11 2005/06/16 06:57:57 jlam Exp $
#
DISTNAME= fujiplay
@@ -22,6 +22,8 @@ SUBST_SED.cvsid= -e 's|\$$Id|Id|'
SUBST_SED.cvsid+= -e 's| \$$$$||'
SUBST_FILES.cvsid= fujiplay.c
+INSTALLATION_DIRS= bin
+
xpost-patch:
cd ${WRKSRC} ; ${MV} fujiplay.c fujiplay.c.orig2 ; \
${SED} \
diff --git a/graphics/gdchart/Makefile b/graphics/gdchart/Makefile
index 68f55f1091a..715b0196d30 100644
--- a/graphics/gdchart/Makefile
+++ b/graphics/gdchart/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.17 2005/04/11 21:46:03 tv Exp $
+# $NetBSD: Makefile,v 1.18 2005/06/16 06:57:57 jlam Exp $
DISTNAME= gdchart0.11.5dev
PKGNAME= gdchart-0.11.5
@@ -11,6 +11,7 @@ HOMEPAGE= http://www.fred.net/brv/chart/
COMMENT= Easy to use, fast C API for creating charts and graphs
USE_LIBTOOL= yes
+INSTALLATION_DIRS= include lib
#TEST_TARGET= gdc_samp1 gdc_samp2 gdc_pie_samp ft_samp
diff --git a/graphics/get_ds7/Makefile b/graphics/get_ds7/Makefile
index cd250f71628..73526449fd6 100644
--- a/graphics/get_ds7/Makefile
+++ b/graphics/get_ds7/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.9 2005/02/21 20:26:11 hubertf Exp $
+# $NetBSD: Makefile,v 1.10 2005/06/16 06:57:57 jlam Exp $
#
DISTNAME= get_ds7_1.2.4
@@ -19,6 +19,8 @@ NO_BUILD= # defined
DOCDIR= ${PREFIX}/share/doc/get_ds7
+INSTALLATION_DIRS= bin
+
post-patch:
${SED} -e "s,/usr/bin/perl,${PERL5}," \
<${WRKSRC}/get_ds7 >${WRKSRC}/get_ds7.exe
diff --git a/graphics/gfract/Makefile b/graphics/gfract/Makefile
index 9e188992cea..61ac4638a43 100644
--- a/graphics/gfract/Makefile
+++ b/graphics/gfract/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.22 2005/06/01 18:02:55 jlam Exp $
+# $NetBSD: Makefile,v 1.23 2005/06/16 06:57:57 jlam Exp $
#
DISTNAME= gfract-0.30
@@ -21,6 +21,8 @@ SUBST_STAGE.prefix= post-extract
SUBST_FILES.prefix= main.cpp
SUBST_SED.prefix= -e "s,/usr/local,${PREFIX},g"
+INSTALLATION_DIRS= bin
+
.include "../../devel/pkgconfig/buildlink3.mk"
.include "../../graphics/png/buildlink3.mk"
.include "../../x11/gtk2/buildlink3.mk"
diff --git a/graphics/gif320/Makefile b/graphics/gif320/Makefile
index 53f4d029dee..0225ca100a2 100644
--- a/graphics/gif320/Makefile
+++ b/graphics/gif320/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.7 2005/02/21 20:26:11 hubertf Exp $
+# $NetBSD: Makefile,v 1.8 2005/06/16 06:57:58 jlam Exp $
#
DISTNAME= gif320-3.3
@@ -12,6 +12,8 @@ COMMENT= GIF file viewer for use with VT-320 terminals
BUILD_TARGET= # empty
WRKSRC= ${WRKDIR}/gif320
+INSTALLATION_DIRS= bin man/man1
+
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/gif320 ${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/gif320.1 ${PREFIX}/man/man1
diff --git a/graphics/giftrans/Makefile b/graphics/giftrans/Makefile
index 624b13e9938..42e5dfff86d 100644
--- a/graphics/giftrans/Makefile
+++ b/graphics/giftrans/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.8 2005/02/21 20:26:11 hubertf Exp $
+# $NetBSD: Makefile,v 1.9 2005/06/16 06:57:58 jlam Exp $
#
DISTNAME= sgif1122
@@ -13,6 +13,8 @@ COMMENT= Manipulate GIF89a images' transparency, comment and other data
WRKSRC= ${WRKDIR}/usr/src/${PKGNAME_NOREV}
+INSTALLATION_DIRS= bin man/man1
+
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/giftrans ${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/giftrans.1 ${PREFIX}/man/man1
diff --git a/graphics/gimp-rawphoto/Makefile b/graphics/gimp-rawphoto/Makefile
index 8f53d011dbd..fbc85fdb596 100644
--- a/graphics/gimp-rawphoto/Makefile
+++ b/graphics/gimp-rawphoto/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2005/04/11 21:46:03 tv Exp $
+# $NetBSD: Makefile,v 1.3 2005/06/16 06:57:58 jlam Exp $
#
DISTNAME= rawphoto-200410220928
@@ -13,6 +13,7 @@ COMMENT= Digicam RAW file importer for GIMP
WRKSRC= ${WRKDIR}/rawphoto-200410220910/src
BUILD_TARGET= build
+INSTALLATION_DIRS= lib/gimp/2.0/plugin-ins
pre-build:
${LN} -sf ${LOCALBASE}/bin/gimptool-2.0 \
diff --git a/graphics/gimp-warp-sharp/Makefile b/graphics/gimp-warp-sharp/Makefile
index e0b35c78cc9..26a25d4c528 100644
--- a/graphics/gimp-warp-sharp/Makefile
+++ b/graphics/gimp-warp-sharp/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1.1.1 2004/11/07 15:06:08 minskim Exp $
+# $NetBSD: Makefile,v 1.2 2005/06/16 06:57:58 jlam Exp $
DISTNAME= warp-sharp
PKGNAME= gimp-${DISTNAME}-1.4
@@ -19,6 +19,8 @@ NO_BUILD= yes
DIST_SUBDIR= ${PKGNAME_NOREV}
EXTRACT_CMD= ${CP} ${DOWNLOADED_DISTFILE} ${WRKSRC}
+INSTALLATION_DIRS= share/gimp/2.0/scripts
+
do-install:
${INSTALL_DATA} ${WRKSRC}/${DISTNAME}${EXTRACT_SUFX} \
${PREFIX}/share/gimp/2.0/scripts
diff --git a/graphics/gmngview/Makefile b/graphics/gmngview/Makefile
index 99b1fa628f8..a58706ddf44 100644
--- a/graphics/gmngview/Makefile
+++ b/graphics/gmngview/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.13 2005/04/11 21:46:03 tv Exp $
+# $NetBSD: Makefile,v 1.14 2005/06/16 06:57:58 jlam Exp $
#
DISTNAME= libmng-1.0.7
@@ -17,6 +17,7 @@ WRKSRC= ${WRKDIR}/${DISTNAME}/contrib/gcc/gtk-mng-view
MAKE_ENV+= LIBMNG_PREFIX=${BUILDLINK_PREFIX.mng:Q}
EXTRACT_ELEMENTS= */contrib/gcc/gtk-mng*
+INSTALLATION_DIRS= bin
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/gmngview ${PREFIX}/bin
diff --git a/graphics/gnome2-pixmaps/Makefile b/graphics/gnome2-pixmaps/Makefile
index 45d8f74b93c..f3aeaaf9625 100644
--- a/graphics/gnome2-pixmaps/Makefile
+++ b/graphics/gnome2-pixmaps/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.26 2005/06/01 18:02:56 jlam Exp $
+# $NetBSD: Makefile,v 1.27 2005/06/16 06:57:58 jlam Exp $
#
DISTNAME= gnome-desktop-2.10.1
@@ -25,6 +25,7 @@ NO_CONFIGURE= YES
NO_BUILD= YES
DSTDIR= ${PREFIX}/share/pixmaps
+INSTALLATION_DIRS= share/pixmaps
.include "../../mk/x11.buildlink3.mk"
diff --git a/graphics/iGMT/Makefile b/graphics/iGMT/Makefile
index e6bbfb9c950..f0264f4544d 100644
--- a/graphics/iGMT/Makefile
+++ b/graphics/iGMT/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.22 2005/06/01 18:02:56 jlam Exp $
+# $NetBSD: Makefile,v 1.23 2005/06/16 06:57:58 jlam Exp $
DISTNAME= igmt_v1.2
PKGNAME= iGMT-1.2
@@ -22,6 +22,7 @@ NO_BUILD= yes
GMT_PREFIX_DEFAULT= ${LOCALBASE}
EVAL_PREFIX+= GMT_PREFIX=GMT
EVAL_PREFIX+= TK_PREFIX=tk
+INSTALLATION_DIRS= bin
.include "../../mk/x11.buildlink3.mk"
diff --git a/graphics/jpeg2ps/Makefile b/graphics/jpeg2ps/Makefile
index b76029c74ae..657343ffdda 100644
--- a/graphics/jpeg2ps/Makefile
+++ b/graphics/jpeg2ps/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.5 2005/04/11 21:46:05 tv Exp $
+# $NetBSD: Makefile,v 1.6 2005/06/16 06:57:58 jlam Exp $
#
DISTNAME= jpeg2ps-1.9
@@ -14,6 +14,8 @@ RESTRICTED= may not be sold
NO_SRC_ON_CD= ${RESTRICTED}
NO_BIN_ON_CD= ${RESTRICTED}
+INSTALLATION_DIRS= bin man/man1
+
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/jpeg2ps ${LOCALBASE}/bin
${INSTALL_MAN} ${WRKSRC}/jpeg2ps.1 ${LOCALBASE}/man/man1
diff --git a/graphics/jpeg_ls/Makefile b/graphics/jpeg_ls/Makefile
index a9799213456..1d40070a573 100644
--- a/graphics/jpeg_ls/Makefile
+++ b/graphics/jpeg_ls/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3 2005/04/11 21:46:05 tv Exp $
+# $NetBSD: Makefile,v 1.4 2005/06/16 06:57:58 jlam Exp $
#
DISTNAME= jpeg_ls_v2.2
@@ -14,6 +14,7 @@ BUILD_DIRS= ${WRKSRC}/Decoder ${WRKSRC}/Encoder
MAKEFILE= makefile
LICENSE= no-commercial-use
+INSTALLATION_DIRS= bin
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/Decoder/locod ${PREFIX}/bin
diff --git a/graphics/metacam/Makefile b/graphics/metacam/Makefile
index 180df84f3cd..82af63af0b6 100644
--- a/graphics/metacam/Makefile
+++ b/graphics/metacam/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.4 2005/05/22 20:08:06 jlam Exp $
+# $NetBSD: Makefile,v 1.5 2005/06/16 06:57:58 jlam Exp $
#
DISTNAME= metacam-1.2
@@ -11,6 +11,7 @@ COMMENT= Digital camera image meta-information reader
USE_TOOLS+= gmake
BUILD_TARGET= default
+INSTALLATION_DIRS= bin
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/metacam ${PREFIX}/bin
diff --git a/graphics/mpgtx/Makefile b/graphics/mpgtx/Makefile
index 9d30da3aee4..a2e27e5df24 100644
--- a/graphics/mpgtx/Makefile
+++ b/graphics/mpgtx/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.8 2005/05/31 22:45:58 rillig Exp $
+# $NetBSD: Makefile,v 1.9 2005/06/16 06:57:58 jlam Exp $
#
DISTNAME= mpgtx-1.3.1
@@ -16,6 +16,8 @@ BUILD_TARGET= mpgtx
PLINKS= mpgjoin mpgcat mpgsplit mpginfo mpgdemux tagmp3
MLINKS= mpgcat.1 mpgjoin.1 mpginfo.1 mpgsplit.1 mpgdemux.1
+INSTALLATION_DIRS= bin man/man1
+
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/mpgtx ${PREFIX}/bin
.for f in ${PLINKS}
diff --git a/graphics/phpsview/Makefile b/graphics/phpsview/Makefile
index c280c603b2c..8e21ca2bb12 100644
--- a/graphics/phpsview/Makefile
+++ b/graphics/phpsview/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.6 2005/04/11 21:46:08 tv Exp $
+# $NetBSD: Makefile,v 1.7 2005/06/16 06:57:58 jlam Exp $
#
DISTNAME= pwc-8.12
@@ -15,6 +15,7 @@ MAINTAINER= hamajima@NetBSD.org
HOMEPAGE= http://www2.starcat.ne.jp/~takam/bsd/NetBSD.html#qcamPro
COMMENT= Philips USB Cameras Utilities
+INSTALLATION_DIRS= bin
do-build:
for f in phpsshot phpsview ; do \
diff --git a/graphics/ploticus/Makefile b/graphics/ploticus/Makefile
index 9f00a822c37..ff55e098c62 100644
--- a/graphics/ploticus/Makefile
+++ b/graphics/ploticus/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.30 2005/06/01 18:02:57 jlam Exp $
+# $NetBSD: Makefile,v 1.31 2005/06/16 06:57:58 jlam Exp $
DISTNAME= pl231src
PKGNAME= ploticus-2.31pl4
@@ -22,6 +22,8 @@ PREFABDST= ${PREFIX}/share/ploticus
MAKE_ENV+= XLIBS="-L${X11BASE}/lib -lX11"
MAKE_ENV+= XINCLUDEDIR="-I${X11BASE}/include"
+INSTALLATION_DIRS= bin
+
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/pl ${PREFIX}/bin/pl
${INSTALL_DATA_DIR} ${PREFABDST}
diff --git a/graphics/png2html/Makefile b/graphics/png2html/Makefile
index 096d646f072..f53bb0889ae 100644
--- a/graphics/png2html/Makefile
+++ b/graphics/png2html/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.15 2005/04/11 21:46:08 tv Exp $
+# $NetBSD: Makefile,v 1.16 2005/06/16 06:57:58 jlam Exp $
#
DISTNAME= png2html-1.1
@@ -13,6 +13,8 @@ COMMENT= Takes a PNG image and transforms it to a web page
FIX_RPATH+= CFLAGS
CFLAGS+= -L${BUILDLINK_PREFIX.gd}/lib ${COMPILER_RPATH_FLAG}${BUILDLINK_PREFIX.gd}/lib
+INSTALLATION_DIRS= bin
+
do-install:
${INSTALL_MAN_DIR} ${PREFIX}/share/doc/png2html
${INSTALL_MAN} ${WRKSRC}/COPYING ${PREFIX}/share/doc/png2html
diff --git a/graphics/pngcrush/Makefile b/graphics/pngcrush/Makefile
index 0c5355dd8a4..95445b38e85 100644
--- a/graphics/pngcrush/Makefile
+++ b/graphics/pngcrush/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.19 2005/04/11 21:46:08 tv Exp $
+# $NetBSD: Makefile,v 1.20 2005/06/16 06:57:58 jlam Exp $
#
DISTNAME= pngcrush-1.5.10
@@ -11,6 +11,7 @@ HOMEPAGE= http://pmt.sourceforge.net/pngcrush/index.html
COMMENT= Optimizer for PNG (Portable Network Graphics) files
NO_CONFIGURE= YES
+INSTALLATION_DIRS= bin
do-build:
cd ${WRKSRC} && ${CC} ${CFLAGS} -o pngcrush pngcrush.c \
diff --git a/graphics/ppmtoxvpic/Makefile b/graphics/ppmtoxvpic/Makefile
index 176ec7f5553..deaa8c128bf 100644
--- a/graphics/ppmtoxvpic/Makefile
+++ b/graphics/ppmtoxvpic/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.8 2005/02/21 20:26:11 hubertf Exp $
+# $NetBSD: Makefile,v 1.9 2005/06/16 06:57:58 jlam Exp $
#
PKGNAME= ppmtoxvpic-0.99.9
@@ -8,6 +8,8 @@ CATEGORIES= graphics
MAINTAINER= tech-pkg@NetBSD.org
COMMENT= Convert PPM image to preview pic readable by xv and gimp
+INSTALLATION_DIRS= bin
+
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/utils/xvpicmaker ${PREFIX}/bin
${INSTALL_PROGRAM} ${WRKSRC}/utils/ppmtoxvpic ${PREFIX}/bin
diff --git a/graphics/prag/Makefile b/graphics/prag/Makefile
index 7761fffd20c..0c748b9b6d2 100644
--- a/graphics/prag/Makefile
+++ b/graphics/prag/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.7 2004/01/20 12:18:17 agc Exp $
+# $NetBSD: Makefile,v 1.8 2005/06/16 06:57:58 jlam Exp $
DISTNAME= prag-1.0pl2
PKGNAME= prag-1.0.2
@@ -12,6 +12,8 @@ COMMENT= Replacement to "grap" graph generator backend to pic
WRKSRC= ${WRKDIR}/prag-1.0
NO_BUILD= yes
+INSTALLATION_DIRS= bin man/man1
+
post-patch:
(cd ${WRKSRC}; ${MV} prag prag.orig)
(cd ${WRKSRC}; ${SED} -e "1s,/bin/nawk,${AWK}," < prag.orig >prag)
diff --git a/graphics/py-gdchart/Makefile b/graphics/py-gdchart/Makefile
index 4924df83c0b..1b4634e315d 100644
--- a/graphics/py-gdchart/Makefile
+++ b/graphics/py-gdchart/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.17 2005/05/22 20:08:07 jlam Exp $
+# $NetBSD: Makefile,v 1.18 2005/06/16 06:57:58 jlam Exp $
#
DISTNAME= gdchart-py-0.6
@@ -24,6 +24,8 @@ EXAMPLE_DIR= ${PREFIX}/share/examples/${PYPKGPREFIX}-gdchart
PY_PATCHPLIST= yes
PYBINMODULE= yes
+INSTALLATION_DIRS= ${PYSITELIB:S/^${PREFIX}\///}
+
do-install:
.for f in ${MODULE_FILES}
${INSTALL_DATA} ${WRKSRC}/${f} ${PREFIX}/${PYSITELIB}
diff --git a/graphics/rayshade/Makefile b/graphics/rayshade/Makefile
index 58fb5ccdf27..bec0178cf53 100644
--- a/graphics/rayshade/Makefile
+++ b/graphics/rayshade/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.15 2005/03/30 20:21:03 wiz Exp $
+# $NetBSD: Makefile,v 1.16 2005/06/16 06:57:59 jlam Exp $
DISTNAME= rayshade.4.0
PKGNAME= rayshade-4.0
@@ -15,6 +15,7 @@ HAS_CONFIGURE= yes
CONFIGURE_SCRIPT= ./Configure
CONFIGURE_ARGS+= < ${WRKDIR}/config.ans
BUILD_TARGET=
+INSTALLATION_DIRS= bin lib
pre-configure:
${SED} -e 's|@CFLAGS@|${CFLAGS}|g' \
diff --git a/graphics/resize_image/Makefile b/graphics/resize_image/Makefile
index 4814319387e..87e888f8879 100644
--- a/graphics/resize_image/Makefile
+++ b/graphics/resize_image/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.9 2005/05/22 20:08:07 jlam Exp $
+# $NetBSD: Makefile,v 1.10 2005/06/16 06:57:59 jlam Exp $
#
DISTNAME= resize_image-0.6
@@ -13,6 +13,8 @@ COMMENT= Fast image resizing tool
USE_TOOLS+= gmake
CFLAGS+= -DUNIX
+INSTALLATION_DIRS= bin
+
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/resize_image ${PREFIX}/bin
diff --git a/graphics/s10sh/Makefile b/graphics/s10sh/Makefile
index 9989ce8ecc0..faba742df46 100644
--- a/graphics/s10sh/Makefile
+++ b/graphics/s10sh/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.9 2005/04/11 21:46:09 tv Exp $
+# $NetBSD: Makefile,v 1.10 2005/06/16 06:57:59 jlam Exp $
#
DISTNAME= s10sh-0.2.0
@@ -13,6 +13,8 @@ COMMENT= USB/serial userspace driver for Canon PowerShot cameras
HAS_CONFIGURE= yes
CONFIGURE_ENV+= LOCALBASE=${LOCALBASE}
+INSTALLATION_DIRS= bin
+
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/s10sh ${PREFIX}/bin
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/s10sh
diff --git a/graphics/vid/Makefile b/graphics/vid/Makefile
index 5f9e5d9e965..a7d35592860 100644
--- a/graphics/vid/Makefile
+++ b/graphics/vid/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.12 2005/04/11 21:46:10 tv Exp $
+# $NetBSD: Makefile,v 1.13 2005/06/16 06:57:59 jlam Exp $
#
DISTNAME= vid-1.0.1
@@ -16,6 +16,8 @@ BUILD_TARGET= vid
DOCDIR= share/doc/${PKGBASE}
PLIST_SUBST+= DOCDIR=${DOCDIR}
+INSTALLATION_DIRS= bin
+
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/vid ${PREFIX}/bin
${INSTALL_DATA_DIR} ${PREFIX}/${DOCDIR}
diff --git a/graphics/xdvipresent/Makefile b/graphics/xdvipresent/Makefile
index 604dd10c525..ab3b8353176 100644
--- a/graphics/xdvipresent/Makefile
+++ b/graphics/xdvipresent/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.9 2005/04/11 21:46:10 tv Exp $
+# $NetBSD: Makefile,v 1.10 2005/06/16 06:57:59 jlam Exp $
#
DISTNAME= xdvipresent-0.6p14
@@ -22,6 +22,8 @@ EXAMPLES_DIR= ${PREFIX}/share/examples/xdvipresent
MAN_DIR= ${PREFIX}/man/
HTML_DIR= ${PREFIX}/share/doc/html/xdvipresent
+INSTALLATION_DIRS= bin man/man1
+
do-install:
${INSTALL_DATA_DIR} ${STYDIR}/images
${INSTALL_DATA} ${WRKSRC}/*.cls ${STYDIR}
diff --git a/graphics/xzgv/Makefile b/graphics/xzgv/Makefile
index db84dc9dc05..9cec51ecd83 100644
--- a/graphics/xzgv/Makefile
+++ b/graphics/xzgv/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.27 2005/05/22 20:08:08 jlam Exp $
+# $NetBSD: Makefile,v 1.28 2005/06/16 06:57:59 jlam Exp $
DISTNAME= xzgv-0.8
PKGNAME= xzgv-0.8.0.1
@@ -18,6 +18,7 @@ INFO_FILES= xzgv
USE_X11BASE= yes
USE_TOOLS+= gmake
+INSTALLATION_DIRS= bin info man/man1
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/src/xzgv ${PREFIX}/bin