summaryrefslogtreecommitdiff
path: root/math/unixstat
diff options
context:
space:
mode:
authorMark Linimon <linimon@FreeBSD.org>2004-02-09 10:33:10 +0000
committerMark Linimon <linimon@FreeBSD.org>2004-02-09 10:33:10 +0000
commit533376ab7accda470dfd46020ce15bb3b5208926 (patch)
treedf24b27325dcddfd0b2a190e2a0a22a241c8efa7 /math/unixstat
parentUpdated to 0.97 (diff)
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.
Notes
Notes: svn path=/head/; revision=100485
Diffstat (limited to 'math/unixstat')
-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})