summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--graphics/imlib/Makefile8
-rw-r--r--graphics/imlib/pkg/PLIST.elf25
-rw-r--r--graphics/imlib/pkg/PLIST.mi (renamed from graphics/imlib/pkg/PLIST)26
3 files changed, 33 insertions, 26 deletions
diff --git a/graphics/imlib/Makefile b/graphics/imlib/Makefile
index 1d768e18f55..cba8f01bd2d 100644
--- a/graphics/imlib/Makefile
+++ b/graphics/imlib/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.36 2000/06/09 11:06:20 wiz Exp $
+# $NetBSD: Makefile,v 1.37 2000/06/20 01:40:16 dmcmahill Exp $
#
DISTNAME= imlib-1.9.8.1
@@ -30,6 +30,12 @@ CPPFLAGS= -DENABLE_NLS
CPPFLAGS+= -I${LOCALBASE}/include
+.if ${OBJECT_FMT} == "a.out"
+PLIST_SRC= ${PKGDIR}/PLIST.mi
+.else
+PLIST_SRC= ${PKGDIR}/PLIST.mi ${PKGDIR}/PLIST.elf
+.endif
+
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/imlib
cd ${WRKSRC}/doc; ${INSTALL_DATA} *.gif *.html \
diff --git a/graphics/imlib/pkg/PLIST.elf b/graphics/imlib/pkg/PLIST.elf
new file mode 100644
index 00000000000..ad7de339d3e
--- /dev/null
+++ b/graphics/imlib/pkg/PLIST.elf
@@ -0,0 +1,25 @@
+@comment $NetBSD: PLIST.elf,v 1.1 2000/06/20 01:40:19 dmcmahill Exp $
+lib/libimlib-bmp.a
+lib/libimlib-bmp.la
+lib/libimlib-bmp.so.0.0
+lib/libimlib-gif.a
+lib/libimlib-gif.la
+lib/libimlib-gif.so.0.0
+lib/libimlib-jpeg.a
+lib/libimlib-jpeg.la
+lib/libimlib-jpeg.so.0.0
+lib/libimlib-png.a
+lib/libimlib-png.la
+lib/libimlib-png.so.0.0
+lib/libimlib-ppm.a
+lib/libimlib-ppm.la
+lib/libimlib-ppm.so.0.0
+lib/libimlib-ps.a
+lib/libimlib-ps.la
+lib/libimlib-ps.so.0.0
+lib/libimlib-tiff.a
+lib/libimlib-tiff.la
+lib/libimlib-tiff.so.0.0
+lib/libimlib-xpm.a
+lib/libimlib-xpm.la
+lib/libimlib-xpm.so.0.0
diff --git a/graphics/imlib/pkg/PLIST b/graphics/imlib/pkg/PLIST.mi
index e236f07e6cf..485ffec45a4 100644
--- a/graphics/imlib/pkg/PLIST
+++ b/graphics/imlib/pkg/PLIST.mi
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.9 2000/06/09 11:06:22 wiz Exp $
+@comment $NetBSD: PLIST.mi,v 1.1 2000/06/20 01:40:21 dmcmahill Exp $
bin/imlib_config
bin/imlib-config
etc/imrc
@@ -17,30 +17,6 @@ lib/libImlib.so.10.8
lib/libgdk_imlib.a
lib/libgdk_imlib.la
lib/libgdk_imlib.so.10.8
-lib/libimlib-bmp.a
-lib/libimlib-bmp.la
-lib/libimlib-bmp.so.0.0
-lib/libimlib-gif.a
-lib/libimlib-gif.la
-lib/libimlib-gif.so.0.0
-lib/libimlib-jpeg.a
-lib/libimlib-jpeg.la
-lib/libimlib-jpeg.so.0.0
-lib/libimlib-png.a
-lib/libimlib-png.la
-lib/libimlib-png.so.0.0
-lib/libimlib-ppm.a
-lib/libimlib-ppm.la
-lib/libimlib-ppm.so.0.0
-lib/libimlib-ps.a
-lib/libimlib-ps.la
-lib/libimlib-ps.so.0.0
-lib/libimlib-tiff.a
-lib/libimlib-tiff.la
-lib/libimlib-tiff.so.0.0
-lib/libimlib-xpm.a
-lib/libimlib-xpm.la
-lib/libimlib-xpm.so.0.0
share/aclocal/imlib.m4
share/doc/imlib/bg.gif
share/doc/imlib/border_diag.gif