summaryrefslogtreecommitdiff
path: root/x11/libXpm
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2006-11-03 21:06:54 +0000
committerjoerg <joerg@pkgsrc.org>2006-11-03 21:06:54 +0000
commitb0e959abc8d11ce0d76b77c6e76719ebdf87c932 (patch)
treeb33791b866b17f9bbc2ae94802bc3dd6cae17d51 /x11/libXpm
parent7ca1d2cac7c84d52949829875ff735745ea398cc (diff)
downloadpkgsrc-b0e959abc8d11ce0d76b77c6e76719ebdf87c932.tar.gz
Import libXpm-3.5.6 from pkgsrc-wip:
XPM (X PixMap) is a format for storing and retrieving X pixmaps to and from files. This libXpm is from the modular Xorg X11. This package includes the cxpm(1) tool for checking XPM files and the sxpm(1) tool for viewing and conversions of XPM files.
Diffstat (limited to 'x11/libXpm')
-rw-r--r--x11/libXpm/DESCR7
-rw-r--r--x11/libXpm/Makefile29
-rw-r--r--x11/libXpm/PLIST8
-rw-r--r--x11/libXpm/buildlink3.mk22
-rw-r--r--x11/libXpm/distinfo5
5 files changed, 71 insertions, 0 deletions
diff --git a/x11/libXpm/DESCR b/x11/libXpm/DESCR
new file mode 100644
index 00000000000..b9039966931
--- /dev/null
+++ b/x11/libXpm/DESCR
@@ -0,0 +1,7 @@
+XPM (X PixMap) is a format for storing and retrieving X pixmaps
+to and from files.
+
+This libXpm is from the modular Xorg X11.
+
+This package includes the cxpm(1) tool for checking XPM files
+and the sxpm(1) tool for viewing and conversions of XPM files.
diff --git a/x11/libXpm/Makefile b/x11/libXpm/Makefile
new file mode 100644
index 00000000000..f01ddb372df
--- /dev/null
+++ b/x11/libXpm/Makefile
@@ -0,0 +1,29 @@
+# $NetBSD: Makefile,v 1.1.1.1 2006/11/03 21:06:54 joerg Exp $
+#
+
+DISTNAME= libXpm-3.5.6
+CATEGORIES= graphics x11
+MASTER_SITES= http://xorg.freedesktop.org/releases/individual/lib/
+EXTRACT_SUFX= .tar.bz2
+
+MAINTAINER= joerg@NetBSD.xorg
+HOMEPAGE= http://xorg.freedesktop.org/
+COMMENT= X PixMap Library from modular Xorg X11
+
+CONFLICTS+= xpm-[0-9]*
+
+PKG_DESTDIR_SUPPORT= user-destdir
+
+USE_LIBTOOL= yes
+USE_TOOLS+= pkg-config
+PKGCONFIG_OVERRIDE+= xpm.pc.in
+GNU_CONFIGURE= yes
+CONFIGURE_ENV+= APP_MAN_SUFFIX=1
+
+.include "../../x11/libX11/buildlink3.mk"
+.include "../../x11/libXext/buildlink3.mk"
+.include "../../x11/libXt/buildlink3.mk"
+.include "../../x11/xextproto/buildlink3.mk"
+.include "../../x11/xproto/buildlink3.mk"
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/x11/libXpm/PLIST b/x11/libXpm/PLIST
new file mode 100644
index 00000000000..8e3c800877f
--- /dev/null
+++ b/x11/libXpm/PLIST
@@ -0,0 +1,8 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2006/11/03 21:06:54 joerg Exp $
+bin/cxpm
+bin/sxpm
+include/X11/xpm.h
+lib/libXpm.la
+lib/pkgconfig/xpm.pc
+man/man1/cxpm.1
+man/man1/sxpm.1
diff --git a/x11/libXpm/buildlink3.mk b/x11/libXpm/buildlink3.mk
new file mode 100644
index 00000000000..034763b522f
--- /dev/null
+++ b/x11/libXpm/buildlink3.mk
@@ -0,0 +1,22 @@
+# $NetBSD: buildlink3.mk,v 1.1.1.1 2006/11/03 21:06:54 joerg Exp $
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
+LIBXPM_BUILDLINK3_MK:= ${LIBXPM_BUILDLINK3_MK}+
+
+.if ${BUILDLINK_DEPTH} == "+"
+BUILDLINK_DEPENDS+= libXpm
+.endif
+
+BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:NlibXpm}
+BUILDLINK_PACKAGES+= libXpm
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}libXpm
+
+.if ${LIBXPM_BUILDLINK3_MK} == "+"
+BUILDLINK_API_DEPENDS.libXpm+= libXpm>=3.5.4.2
+BUILDLINK_PKGSRCDIR.libXpm?= ../../x11/libXpm
+.endif # LIBXPM_BUILDLINK3_MK
+
+.include "../../x11/libX11/buildlink3.mk"
+.include "../../x11/xproto/buildlink3.mk"
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}
diff --git a/x11/libXpm/distinfo b/x11/libXpm/distinfo
new file mode 100644
index 00000000000..7017e81ff3d
--- /dev/null
+++ b/x11/libXpm/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2006/11/03 21:06:54 joerg Exp $
+
+SHA1 (libXpm-3.5.6.tar.bz2) = 870e29be101e9063963a31feab4adb662bd1ead9
+RMD160 (libXpm-3.5.6.tar.bz2) = f74ab2c72752e34355b01aebea83f4a3c3a8f218
+Size (libXpm-3.5.6.tar.bz2) = 371577 bytes