diff options
Diffstat (limited to 'archivers')
-rw-r--r-- | archivers/Makefile | 1 | ||||
-rw-r--r-- | archivers/epkg/Makefile | 75 | ||||
-rw-r--r-- | archivers/epkg/distinfo | 3 | ||||
-rw-r--r-- | archivers/epkg/files/patch-doc_Makefile.in | 11 | ||||
-rw-r--r-- | archivers/epkg/pkg-descr | 3 | ||||
-rw-r--r-- | archivers/epkg/pkg-install | 25 | ||||
-rw-r--r-- | archivers/epkg/pkg-plist | 12 |
7 files changed, 130 insertions, 0 deletions
diff --git a/archivers/Makefile b/archivers/Makefile index 50d3f60414e0..2f449f8ed57b 100644 --- a/archivers/Makefile +++ b/archivers/Makefile @@ -19,6 +19,7 @@ SUBDIR += dynamite SUBDIR += dzip SUBDIR += ecm + SUBDIR += epkg SUBDIR += fastjar SUBDIR += file-roller SUBDIR += fpc-paszlib diff --git a/archivers/epkg/Makefile b/archivers/epkg/Makefile new file mode 100644 index 000000000000..d262cc55aa4b --- /dev/null +++ b/archivers/epkg/Makefile @@ -0,0 +1,75 @@ +# New ports collection makefile for: epkg +# Date created: 12 May 2006 +# Whom: Jim Pirzyk <pirzyk@freebsd.org> +# +# $FreeBSD$ +# + +PORTNAME= epkg +PORTVERSION= 2.3.9 +CATEGORIES= archivers +MASTER_SITES= ftp://ftp.feep.net/pub/encap/epkg/ + +MAINTAINER= pirzyk@freebsd.org +COMMENT= Encap Package Manger + +BUILD_DEPENDS= ${LOCALBASE}/lib/libexpat.a:${PORTSDIR}/textproc/expat2 \ + ${LOCALBASE}/lib/libfget.a:${PORTSDIR}/ftp/fget \ + ${LOCALBASE}/lib/libcurl.a:${PORTSDIR}/ftp/curl + +HAS_CONFIGURE= YES +CONFIGURE_ENV= CPPFLAGS=-I${LOCALBASE}/include LDFLAGS=-L${PREFIX}/lib +CONFIGURE_ARGS= --disable-encap --disable-epkg-install --with-libfget --without-libtar + +MAN1= epkg.1 \ + mkencap.1 +MAN3= encap20_platform_name.3 \ + encap_check.3 \ + encap_check_prereqs.3 \ + encap_check_source.3 \ + encap_check_target.3 \ + encap_close.3 \ + encap_find_versions.3 \ + encap_hash_add.3 \ + encap_hash_del.3 \ + encap_hash_free.3 \ + encap_hash_getkey.3 \ + encap_hash_new.3 \ + encap_hash_next.3 \ + encap_hash_prev.3 \ + encap_hash_search.3 \ + encap_install.3 \ + encap_list_add.3 \ + encap_list_add_str.3 \ + encap_list_del.3 \ + encap_list_dup.3 \ + encap_list_free.3 \ + encap_list_merge.3 \ + encap_list_new.3 \ + encap_list_next.3 \ + encap_list_prev.3 \ + encap_list_search.3 \ + encap_open.3 \ + encap_pkgspec_join.3 \ + encap_pkgspec_parse.3 \ + encap_platform_compat.3 \ + encap_platform_name.3 \ + encap_platform_split.3 \ + encap_remove.3 \ + encap_vercmp.3 \ + encapinfo_free.3 \ + encapinfo_init.3 \ + encapinfo_parse_directive.3 \ + encapinfo_write.3 +MAN5= encap_profile.5 + +.include <bsd.port.pre.mk> + +do-install: + @(cd ${BUILD_WRKSRC}; ${MAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} install-recurse) + + -@${MKDIR} ${PREFIX}/etc + @${CP} ${WRKSRC}/mkencap/mkencap_environment ${PREFIX}/etc/mkencap_environment.sample + PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL + +.include <bsd.port.post.mk> diff --git a/archivers/epkg/distinfo b/archivers/epkg/distinfo new file mode 100644 index 000000000000..d10a5298f651 --- /dev/null +++ b/archivers/epkg/distinfo @@ -0,0 +1,3 @@ +MD5 (epkg-2.3.9.tar.gz) = e7dc957031851aa7ed63014e4d73953f +SHA256 (epkg-2.3.9.tar.gz) = a82e9ba11f4c9ed5004c1b79c91795eefaaa2df39f8089d217d7301ed816e756 +SIZE (epkg-2.3.9.tar.gz) = 237232 diff --git a/archivers/epkg/files/patch-doc_Makefile.in b/archivers/epkg/files/patch-doc_Makefile.in new file mode 100644 index 000000000000..92b3e4564e7a --- /dev/null +++ b/archivers/epkg/files/patch-doc_Makefile.in @@ -0,0 +1,11 @@ +--- doc/Makefile.in.orig Thu Nov 21 11:56:12 2002 ++++ doc/Makefile.in Sun May 14 10:49:48 2006 +@@ -6,7 +6,7 @@ + prefix = @prefix@ + exec_prefix = @exec_prefix@ + mandir = @mandir@ +-docdir = @prefix@/doc ++docdir = @datadir@/doc + + PACKAGE_NAME = @PACKAGE_NAME@ + PACKAGE_VERSION = @PACKAGE_VERSION@ diff --git a/archivers/epkg/pkg-descr b/archivers/epkg/pkg-descr new file mode 100644 index 000000000000..e8d42a19c828 --- /dev/null +++ b/archivers/epkg/pkg-descr @@ -0,0 +1,3 @@ +Encap Package Manger + +WWW: http://www.encap.org/epkg/ diff --git a/archivers/epkg/pkg-install b/archivers/epkg/pkg-install new file mode 100644 index 000000000000..a741f2a6fef5 --- /dev/null +++ b/archivers/epkg/pkg-install @@ -0,0 +1,25 @@ +#!/bin/sh + +PKG_PREFIX=${PKG_PREFIX:-/usr/local} + +if [ $# -ne 2 ]; then + echo "usage: $0 distname { PRE-INSTALL | POST-INSTALL }" >&2 + exit 1 +fi + +case $2 in + POST-INSTALL) + + if [ ! -d "${PKG_PREFIX}/etc" ]; then + echo "creating directory: ${PKG_PREFIX}/etc"; + mkdir -p "${PKG_PREFIX}/etc"; + fi + + if [ ! -f "${PKG_PREFIX}/etc/mkencap_environment" ]; then + echo "installing: ${PKG_PREFIX}/etc/mkencap_environment"; + cp "${PKG_PREFIX}/etc/mkencap_environment.sample" "${PKG_PREFIX}/etc/mkencap_environment"; + fi + ;; +esac + +exit 0 diff --git a/archivers/epkg/pkg-plist b/archivers/epkg/pkg-plist new file mode 100644 index 000000000000..2a86c938144c --- /dev/null +++ b/archivers/epkg/pkg-plist @@ -0,0 +1,12 @@ +@unexec cmp %D/etc/mkencap_environment.sample %D/etc/mkencap_environment && rm %D/etc/mkencap_environment +bin/epkg +bin/mkencap +etc/mkencap_environment.sample +include/encap.h +include/encap_listhash.h +lib/libencap.a +share/doc/encap/encap2.0-specification.txt +share/doc/encap/encap2.1-specification.txt +share/doc/encap/encap_profile.dtd +share/mkencap.m4 +@dirrmtry share/doc/encap |