diff options
author | Stefan Bethke <stb@FreeBSD.org> | 1999-04-22 12:24:25 +0000 |
---|---|---|
committer | Stefan Bethke <stb@FreeBSD.org> | 1999-04-22 12:24:25 +0000 |
commit | fb34d55ddd3a5ee85bf9deb1aeac6da69b632a7c (patch) | |
tree | f4b28efd77f8d1ec64501f4e1d133e3896d9b774 /astro/setiathome/Makefile | |
parent | Better check for OS version, cleanup. (diff) |
Allow for automatich package building
Reinstate the EXTRACT_ variables. They are needed.
Diffstat (limited to 'astro/setiathome/Makefile')
-rw-r--r-- | astro/setiathome/Makefile | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/astro/setiathome/Makefile b/astro/setiathome/Makefile index 3fd899adff41..245aff44b8c9 100644 --- a/astro/setiathome/Makefile +++ b/astro/setiathome/Makefile @@ -3,7 +3,7 @@ # Date created: 22 Apr 1999 # Whom: stb@freebsd.org # -# $Id: Makefile,v 1.3 1999/04/22 02:00:16 stb Exp $ +# $Id: Makefile,v 1.4 1999/04/22 10:35:25 stb Exp $ # PKGNAME= setiathome-0.46 @@ -15,6 +15,10 @@ MAINTAINER= stb@freebsd.org ONLY_FOR_ARCHS= i386 +EXTRACT_CMD= tar +EXTRACT_BEFORE_ARGS= -xf +EXTRACT_AFTER_ARGS= + .include <bsd.port.pre.mk> .if ${OSVERSION} >= 310000 @@ -44,6 +48,10 @@ NO_BUILD= "binary distribution" MAN1= setiathome.1 +.if !defined(PACKAGE_BUILDING) +IS_INTERACTIVE= yes +.endif + pre-fetch: @if [ -z "${DISTFILES}" ]; then \ ${ECHO} "It seems you are running FreeBSD `uname -r`, which is not currently"; \ @@ -58,6 +66,7 @@ do-install: ${INSTALL_MAN} ${FILESDIR}/setiathome.1 ${MAN1PREFIX}/man/man1 post-install: - @PKG_PREFIX=${PREFIX} ${SH} ${PKGDIR}/INSTALL ${PKGNAME} POST-INSTALL + @PKG_PREFIX=${PREFIX} PACKAGE_BUILDING=${PACKAGE_BUILDING} \ + ${SH} ${PKGDIR}/INSTALL ${PKGNAME} POST-INSTALL .include <bsd.port.post.mk> |