From e1273eb09a875b706647614007fce79064ccc09a Mon Sep 17 00:00:00 2001 From: Satoshi Asami Date: Thu, 8 Dec 1994 10:20:17 +0000 Subject: xfed, a program to edit .bdf files. This stuff is so old, I couldn't find a site that has a tarball of the latest sources so I had to write my own "fetch:" target to get the files and tar them up. Maybe we can add a rule like this to bsd.port.mk. Interested parties please take a look at the Makefile. --- x11-fonts/xfed/Makefile | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 x11-fonts/xfed/Makefile (limited to 'x11-fonts/xfed/Makefile') diff --git a/x11-fonts/xfed/Makefile b/x11-fonts/xfed/Makefile new file mode 100644 index 000000000000..29c4430bcb35 --- /dev/null +++ b/x11-fonts/xfed/Makefile @@ -0,0 +1,36 @@ +# New ports collection makefile for: xfed +# Version required: something old +# Date created: 7 December 1994 +# Whom: asami +# +# $Id:$ +# + +DISTNAME= xfed +TARFILE= xfed.tar.gz +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 +USE_IMAKE= yes +INSTALL_MANPAGES= yes +#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 + +fetch: pre-fetch + @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}..."; \ + tar -C ${.CURDIR}/src -czf ${DISTDIR}/${TARFILE} xfed; \ + rm -rf ${.CURDIR}/src; \ + fi + +.include -- cgit v1.2.3