diff options
author | Cy Schubert <cy@FreeBSD.org> | 2002-03-18 22:52:43 +0000 |
---|---|---|
committer | Cy Schubert <cy@FreeBSD.org> | 2002-03-18 22:52:43 +0000 |
commit | a50d121378d7657f3b1f31396c29bf2109da6cf3 (patch) | |
tree | ea7fb22d7a32f091e2cfcb510b661efaba65ee74 /security/krb5/Makefile | |
parent | Update to 1.1.5 (diff) |
MIT currently distributes their KRB5 distribution in a tarball (.tar)
that contains the distribution itself, in a tar.gz file, and a signature
certificate, contained in a detached .tar.gz.asc file. Prior to this
patch, users installing MIT KRB5 had to extract the tarball into
/usr/ports/distfiles, then proceed with the installation. This caused
confusion among those installing the port. This patch addresses the
problem by extracting the .tar.gz file from the tarball, then unpacking
the .tar.gz file before continuing with the build.
Diffstat (limited to 'security/krb5/Makefile')
-rw-r--r-- | security/krb5/Makefile | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/security/krb5/Makefile b/security/krb5/Makefile index 6586eca93f34..342b364e2d14 100644 --- a/security/krb5/Makefile +++ b/security/krb5/Makefile @@ -15,6 +15,7 @@ MAINTAINER= cy@FreeBSD.org BUILD_DEPENDS= gm4:${PORTSDIR}/devel/m4 KERBEROSV_URL= http://web.mit.edu/network/kerberos-form.html +EXTRACT_SUFX= .tar USE_GMAKE= yes INSTALLS_SHLIB= yes GNU_CONFIGURE= yes @@ -76,6 +77,12 @@ do-fetch: fi .endif +post-extract: + @${TAR} -C ${WRKDIR} -xzf ${WRKDIR}/${DISTNAME}.tar.gz + @${RM} ${WRKDIR}/${DISTNAME}.tar.gz ${WRKDIR}/${DISTNAME}.tar.gz.asc + @${CHMOD} -R ug-s,go-w ${WRKDIR}/${DISTNAME} + @${CHOWN} -R 0:0 ${WRKDIR}/${DISTNAME} + pre-build: .if !defined(KRB5_KRB4_COMPAT) @${ECHO} "------------------------------------------------------" |