aboutsummaryrefslogtreecommitdiffstats
path: root/misc
diff options
context:
space:
mode:
Diffstat (limited to 'misc')
-rw-r--r--misc/e2fsprogs-libblkid/Makefile38
-rw-r--r--misc/e2fsprogs-libblkid/pkg-descr3
-rw-r--r--misc/e2fsprogs-libblkid/pkg-plist8
3 files changed, 49 insertions, 0 deletions
diff --git a/misc/e2fsprogs-libblkid/Makefile b/misc/e2fsprogs-libblkid/Makefile
new file mode 100644
index 000000000000..03045e65e283
--- /dev/null
+++ b/misc/e2fsprogs-libblkid/Makefile
@@ -0,0 +1,38 @@
+# New ports collection makefile for: e2fsprogs-libblkid
+# Date created: 2007-09-07
+# Whom: Matthias Andree <matthias.andree@gmx.de>
+#
+# $FreeBSD$
+#
+# set PORTREVISION to avoid override by master port
+
+PORTREVISION= 0
+CATEGORIES= misc devel
+PKGNAMESUFFIX= -libblkid
+
+COMMENT= A blkid library from e2fsprogs package
+
+LIB_DEPENDS= uuid.1:${PORTSDIR}/misc/e2fsprogs-libuuid
+
+CONFIGURE_ARGS= --enable-elf-shlibs
+
+WITHOUT_NLS= yes
+MASTERDIR= ${.CURDIR}/../../sysutils/e2fsprogs
+MAKE_ARGS= LIB_SUBDIRS=lib/blkid
+USE_LDCONFIG= yes
+ALL_TARGET= libs
+INSTALL_TARGET= install install-shlibs
+INSTALL_WRKSRC= ${WRKSRC}/lib/blkid
+
+MAN3= libblkid.3
+
+PKGDIR= ${.CURDIR}
+
+pre-build:
+ ${MKDIR} ${WRKSRC}/lib/blkid/elfshared
+
+post-build:
+ cd ${WRKSRC}/lib/uuid && ${MAKE}
+ cd ${INSTALL_WRKSRC} && ${MAKE} check
+
+.include "${MASTERDIR}/Makefile"
diff --git a/misc/e2fsprogs-libblkid/pkg-descr b/misc/e2fsprogs-libblkid/pkg-descr
new file mode 100644
index 000000000000..85cdabd78548
--- /dev/null
+++ b/misc/e2fsprogs-libblkid/pkg-descr
@@ -0,0 +1,3 @@
+Block device identification library from the e2fsprogs package.
+
+WWW: http://e2fsprogs.sourceforge.net/
diff --git a/misc/e2fsprogs-libblkid/pkg-plist b/misc/e2fsprogs-libblkid/pkg-plist
new file mode 100644
index 000000000000..d7dafc907e02
--- /dev/null
+++ b/misc/e2fsprogs-libblkid/pkg-plist
@@ -0,0 +1,8 @@
+include/blkid/blkid.h
+include/blkid/blkid_types.h
+lib/libblkid.so.1.0
+lib/libblkid.so.1
+lib/libblkid.so
+lib/libblkid.a
+libdata/pkgconfig/blkid.pc
+@dirrm include/blkid