diff options
author | Matthias Andree <mandree@FreeBSD.org> | 2010-01-07 13:51:03 +0000 |
---|---|---|
committer | Matthias Andree <mandree@FreeBSD.org> | 2010-01-07 13:51:03 +0000 |
commit | 1d0361bd4d379edddd45d97b0e0dc4b3c56fedf1 (patch) | |
tree | ab53710e105587f0b07d9dbfd95f5896745633dd /devel/e2fsprogs-libss | |
parent | b9a740bcfbbad63d4551850e2ccd5d142418b9a4 (diff) | |
download | ports-1d0361bd4d379edddd45d97b0e0dc4b3c56fedf1.tar.gz ports-1d0361bd4d379edddd45d97b0e0dc4b3c56fedf1.zip |
Add new devel/e2fsprogs-libss port, as slave to sysutils/e2fsprogs.
pkg-descr: ----------------------------------------------------------
This package includes a tool that parses a command table to generate a
simple command-line interface parser, the include files needed to compile
and use it, and the libraries needed to run programs that use it.
It was originally inspired by the Multics SubSystem library.
EOF------------------------------------------------------------------
PR: ports/140767
Submitted by: Benjamin Kaduk <kaduk@mit.edu>
Approved by: garga (mentor)
Notes
Notes:
svn path=/head/; revision=247331
Diffstat (limited to 'devel/e2fsprogs-libss')
-rw-r--r-- | devel/e2fsprogs-libss/Makefile | 43 | ||||
-rw-r--r-- | devel/e2fsprogs-libss/files/fix-ss_err.h.sed | 2 | ||||
-rw-r--r-- | devel/e2fsprogs-libss/files/patch-lib-ss-Makefile.in | 20 | ||||
-rw-r--r-- | devel/e2fsprogs-libss/pkg-descr | 5 | ||||
-rw-r--r-- | devel/e2fsprogs-libss/pkg-plist | 12 |
5 files changed, 82 insertions, 0 deletions
diff --git a/devel/e2fsprogs-libss/Makefile b/devel/e2fsprogs-libss/Makefile new file mode 100644 index 000000000000..47cfde00bcee --- /dev/null +++ b/devel/e2fsprogs-libss/Makefile @@ -0,0 +1,43 @@ +# New ports collection makefile for: e2fsprogs-libss +# Date created: 23 November 2009 +# Whom: Ben Kaduk <kaduk@mit.edu> +# +# $FreeBSD$ +# + +PORTREVISION= 0 +CATEGORIES= devel +PKGNAMESUFFIX= -libss + +MAINTAINER= kaduk-fbsd@mit.edu +COMMENT= Command-line interface parsing library from e2fsprogs + +CONFLICTS= heimdal-[0-9]* +CONFLICTS+= krb4-[0-9]* + +WITHOUT_NLS= yes +OPTIONS= # +CONFIGURE_ARGS= --enable-elf-shlibs +MASTERDIR= ${.CURDIR}/../../sysutils/e2fsprogs +GNU_CONFIGURE= yes +USE_GMAKE= yes +USE_LDCONFIG= yes +ALL_TARGET= subs +INSTALL_WRKSRC= ${WRKSRC}/lib/ss +FILESDIR= ${.CURDIR}/files + +EXTRA_PATCHES= ${FILESDIR}/patch-lib-ss-Makefile.in + +MAN1= mk_cmds.1 + +PKGDIR= ${.CURDIR} + +pre-build: + @(cd ${WRKSRC}/lib/ss && compile_et ss_err.et && \ + ${REINPLACE_CMD} -f ${FILESDIR}/fix-ss_err.h.sed ss_err.h) + +post-build: + @(cd ${WRKSRC}/lib/ss && ${GMAKE} ${MAKE_FLAGS} ${MAKEFILE} \ + ${_MAKE_JOBS} ${MAKE_ARGS} all) + +.include "${MASTERDIR}/Makefile" diff --git a/devel/e2fsprogs-libss/files/fix-ss_err.h.sed b/devel/e2fsprogs-libss/files/fix-ss_err.h.sed new file mode 100644 index 000000000000..73dc2aff639b --- /dev/null +++ b/devel/e2fsprogs-libss/files/fix-ss_err.h.sed @@ -0,0 +1,2 @@ +/#define __ss_err_h__/a\ +#include <com_err.h> diff --git a/devel/e2fsprogs-libss/files/patch-lib-ss-Makefile.in b/devel/e2fsprogs-libss/files/patch-lib-ss-Makefile.in new file mode 100644 index 000000000000..6b0811c0796f --- /dev/null +++ b/devel/e2fsprogs-libss/files/patch-lib-ss-Makefile.in @@ -0,0 +1,20 @@ +--- work/lib/ss/Makefile.in.orig 2009-11-28 23:03:52.000000000 +0000 ++++ work/lib/ss/Makefile.in 2009-11-28 23:04:20.000000000 +0000 +@@ -20,7 +20,7 @@ + ELF_IMAGE = libss + ELF_MYDIR = ss + ELF_INSTALL_DIR = $(root_libdir) +-ELF_OTHER_LIBS = -L../.. -lcom_err $(DLOPEN_LIB) ++ELF_OTHER_LIBS = -lcom_err $(DLOPEN_LIB) + + BSDLIB_VERSION = 1.0 + BSDLIB_IMAGE = libss +@@ -28,7 +28,7 @@ + BSDLIB_INSTALL_DIR = $(root_libdir) + + TAGS=etags +-COMPILE_ET=../et/compile_et --build-tree ++COMPILE_ET=compile_et + MK_CMDS=_SS_DIR_OVERRIDE=. ./mk_cmds + + # -I.. is so that ss/ss_err.h works diff --git a/devel/e2fsprogs-libss/pkg-descr b/devel/e2fsprogs-libss/pkg-descr new file mode 100644 index 000000000000..821bd5485b31 --- /dev/null +++ b/devel/e2fsprogs-libss/pkg-descr @@ -0,0 +1,5 @@ +This package includes a tool that parses a command table to generate a +simple command-line interface parser, the include files needed to compile +and use it, and the libraries needed to run programs that use it. + +It was originally inspired by the Multics SubSystem library. diff --git a/devel/e2fsprogs-libss/pkg-plist b/devel/e2fsprogs-libss/pkg-plist new file mode 100644 index 000000000000..b6eb9a7a038d --- /dev/null +++ b/devel/e2fsprogs-libss/pkg-plist @@ -0,0 +1,12 @@ +bin/mk_cmds +include/ss/ss.h +include/ss/ss_err.h +lib/libss.so.2.0 +lib/libss.so +lib/libss.a +lib/libss.so.2 +libdata/pkgconfig/ss.pc +share/ss/ct_c.awk +share/ss/ct_c.sed +@dirrm include/ss +@dirrm share/ss |