summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--graphics/SDL_image/Makefile10
-rw-r--r--graphics/SDL_image/PLIST4
2 files changed, 11 insertions, 3 deletions
diff --git a/graphics/SDL_image/Makefile b/graphics/SDL_image/Makefile
index 7df7a031005..a047c2ecc9c 100644
--- a/graphics/SDL_image/Makefile
+++ b/graphics/SDL_image/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.13 2004/01/05 22:44:04 jlam Exp $
+# $NetBSD: Makefile,v 1.14 2004/02/03 01:27:37 xtraeme Exp $
#
DISTNAME= SDL_image-1.2.3
@@ -27,6 +27,14 @@ post-install:
${LIBTOOL} --mode=install ${INSTALL_PROGRAM} ${WRKSRC}/showimage \
${PREFIX}/bin
+.include "../../mk/bsd.prefs.mk"
+
+.if ${OPSYS} == "FreeBSD"
+PLIST_SUBST+= AVAILABLE="@comment "
+.else
+PLIST_SUBST+= AVAILABLE=
+.endif
+
.include "../../graphics/jpeg/buildlink3.mk"
.include "../../graphics/png/buildlink3.mk"
.include "../../graphics/tiff/buildlink3.mk"
diff --git a/graphics/SDL_image/PLIST b/graphics/SDL_image/PLIST
index e7a7356597e..e716b0c60ee 100644
--- a/graphics/SDL_image/PLIST
+++ b/graphics/SDL_image/PLIST
@@ -1,7 +1,7 @@
-@comment $NetBSD: PLIST,v 1.2 2003/09/09 13:36:56 adam Exp $
+@comment $NetBSD: PLIST,v 1.3 2004/02/03 01:27:37 xtraeme Exp $
bin/showimage
include/SDL/SDL_image.h
-lib/libSDL_image-1.2.so
+${AVAILABLE}lib/libSDL_image-1.2.so
lib/libSDL_image-1.2.so.1
lib/libSDL_image-1.2.so.1.2
lib/libSDL_image.a