1994-12-08 10:20:17 +00:00
|
|
|
# New ports collection makefile for: xfed
|
|
|
|
# Version required: something old
|
|
|
|
# Date created: 7 December 1994
|
|
|
|
# Whom: asami
|
|
|
|
#
|
1995-04-22 11:58:42 +00:00
|
|
|
# $Id: Makefile,v 1.8 1995/04/12 20:31:57 asami Exp $
|
1994-12-08 10:20:17 +00:00
|
|
|
#
|
|
|
|
|
1995-04-12 20:32:12 +00:00
|
|
|
DISTNAME= xfed
|
|
|
|
PKGNAME= xfed-1.0
|
|
|
|
CATEGORIES+= x11
|
|
|
|
|
|
|
|
MAINTAINER= asami@FreeBSD.ORG
|
|
|
|
|
1995-02-12 23:22:13 +00:00
|
|
|
USE_IMAKE= yes
|
1995-04-12 20:32:12 +00:00
|
|
|
|
1995-02-12 23:22:13 +00:00
|
|
|
MAKE_FLAGS= MANDIR=${PREFIX}/man/man1 BINDIR=${PREFIX}/bin -f
|
1994-12-08 10:20:17 +00:00
|
|
|
TARFILE= xfed.tar.gz
|
1995-02-12 23:22:13 +00:00
|
|
|
.if !defined(MASTER_SITE_OVERRIDE)
|
1994-12-08 10:20:17 +00:00
|
|
|
SOURCEFILES= Epistle,README,Imakefile,xfed.man \
|
|
|
|
icon.bit,next.bit,prev.bit,quit.bit,save.bit \
|
|
|
|
defs.h,main.c,output.c,parse.y,scan.l
|
|
|
|
#MASTER_SITES= ftp://me10.lbl.gov/pub/hp_X11R3_tape/source/app/
|
|
|
|
SOURCESITE= ftp://ftp.cs.orst.edu/pub/src/X11R4/contrib/clients/xfed/
|
|
|
|
#EXTRACT_SUFX= .tar.Z
|
|
|
|
|
1995-04-22 11:58:42 +00:00
|
|
|
do-fetch:
|
1994-12-08 10:20:17 +00:00
|
|
|
@if [ ! -d ${DISTDIR} ]; then mkdir -p ${DISTDIR}; fi
|
|
|
|
@noglob= ; \
|
|
|
|
if [ ! -f ${DISTDIR}/${TARFILE} ]; then \
|
|
|
|
rm -rf ${.CURDIR}/src; \
|
|
|
|
mkdir -p ${.CURDIR}/src/xfed; \
|
|
|
|
echo ">> Fetching files from remote site..."; \
|
|
|
|
for file in ${SOURCEFILES}; do \
|
|
|
|
(cd ${.CURDIR}/src/xfed; \
|
|
|
|
${NCFTP} ${NCFTPFLAGS} ${SOURCESITE}\{$$file\}); \
|
|
|
|
done; \
|
|
|
|
echo ">> Now creating a tarball ${DISTDIR}/${TARFILE}..."; \
|
1995-04-01 14:54:57 +00:00
|
|
|
tar -C ${.CURDIR}/src -cf - xfed | \
|
|
|
|
gzip --best > ${DISTDIR}/${TARFILE}; \
|
1994-12-08 10:20:17 +00:00
|
|
|
rm -rf ${.CURDIR}/src; \
|
|
|
|
fi
|
1995-02-12 23:22:13 +00:00
|
|
|
.endif
|
1994-12-08 10:20:17 +00:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|