aboutsummaryrefslogtreecommitdiffstats
path: root/math
diff options
context:
space:
mode:
authorlinimon <linimon@FreeBSD.org>2004-02-09 18:33:10 +0800
committerlinimon <linimon@FreeBSD.org>2004-02-09 18:33:10 +0800
commit0deb776877ac661de12aa763c2fbd222232305e7 (patch)
tree31b379d45caa733c94d0ffef2c90abe1620681a6 /math
parent7264b4d805bcfab4733d35151d9d5922b0ac5447 (diff)
downloadfreebsd-ports-gnome-0deb776877ac661de12aa763c2fbd222232305e7.tar.gz
freebsd-ports-gnome-0deb776877ac661de12aa763c2fbd222232305e7.tar.zst
freebsd-ports-gnome-0deb776877ac661de12aa763c2fbd222232305e7.zip
Bento fix: convert the pre-fetch test for the existance of the
distfile (which must be manually downloaded) into one that is compatible with bento builds. This should be transparent to anyone installing the port. Informed maintainer.
Diffstat (limited to 'math')
-rw-r--r--math/unixstat/Makefile22
1 files changed, 9 insertions, 13 deletions
diff --git a/math/unixstat/Makefile b/math/unixstat/Makefile
index 353b0c5216e8..231b3cda2c37 100644
--- a/math/unixstat/Makefile
+++ b/math/unixstat/Makefile
@@ -23,21 +23,17 @@ MAN1= abut.1 anova.1 calc.1 colex.1 contab.1 desc.1 dm.1 dprime.1 \
rankrel.1 ranksort.1 regress.1 repeat.1 reverse.1 series.1 \
stats.1 transpose.1 ts.1 unixstat.1 validata.1
-do-fetch:
- @if [ ! -f ${DISTDIR}/${DISTNAME}${EXTRACT_SUFX} ]; then \
- ${ECHO} ""; \
- ${ECHO} "Gary Perlman requires that users agree to his license"; \
- ${ECHO} "before he will allow access to the dist file."; \
- ${ECHO} "See his web site at http://www.acm.org/~perlman/stat/ for"; \
- ${ECHO} "details. Then put ${DISTNAME}${EXTRACT_SUFX} in"; \
- ${ECHO} "${DISTDIR} and run make again."; \
- ${ECHO} ""; \
- exit 1;\
- fi
+.if !exists(${DISTDIR}/${DISTNAME}${EXTRACT_SUFX}) && !defined(PACKAGE_BUILDING)
+IGNORE="Gary Perlman requires that users agree to his license"\
+"before he will allow access to the distfile."\
+"See his web site at http://www.acm.org/~perlman/stat/ for"\
+"details. Then put ${DISTNAME}${EXTRACT_SUFX} in"\
+"${DISTDIR} and run make again"
+.endif
post-patch:
- @mv ${WRKSRC}/man/intro.1 ${WRKSRC}/man/unixstat.1
- @rm ${WRKSRC}/man/cat.1
+ @{MV} ${WRKSRC}/man/intro.1 ${WRKSRC}/man/unixstat.1
+ @{RM} ${WRKSRC}/man/cat.1
do-build:
@(cd ${WRKSRC}/src; ${SETENV} ${MAKE_ENV} make ${MAKE_ARGS})