Subject: Re: framemaker package (preliminary)
To: None <tech-pkg@netbsd.org>
From: Kazuki Sakamoto <sakamoto@cec.co.jp>
List: tech-pkg
Date: 12/21/1999 12:23:12
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	framemaker/pkg/COMMENT
#	framemaker/pkg/DESCR
#	framemaker/pkg/PLIST
#	framemaker/pkg/MESSAGES
#	framemaker/Makefile
#	framemaker/files/md5
#	framemaker/files/framemaker
#
echo x - framemaker/pkg/COMMENT
sed 's/^X//' >framemaker/pkg/COMMENT << 'END-of-framemaker/pkg/COMMENT'
Xframemaker
END-of-framemaker/pkg/COMMENT
echo x - framemaker/pkg/DESCR
sed 's/^X//' >framemaker/pkg/DESCR << 'END-of-framemaker/pkg/DESCR'
Xframemaker
END-of-framemaker/pkg/DESCR
echo x - framemaker/pkg/PLIST
sed 's/^X//' >framemaker/pkg/PLIST << 'END-of-framemaker/pkg/PLIST'
X@comment $NetBSD$
Xbin/framemaker
END-of-framemaker/pkg/PLIST
echo x - framemaker/pkg/MESSAGES
sed 's/^X//' >framemaker/pkg/MESSAGES << 'END-of-framemaker/pkg/MESSAGES'
Xportmap -i
END-of-framemaker/pkg/MESSAGES
echo x - framemaker/Makefile
sed 's/^X//' >framemaker/Makefile << 'END-of-framemaker/Makefile'
X# $NetBSD$
X#
X
XDISTNAME=	fmlinux
XPKGNAME=	framemaker-5.5.6
XCATEGORIES=	textproc
XMASTER_SITES=	ftp://ftp.adobe.com/pub/adobe/magic/framemaker/unix/5.x/ \
X		ftp://ftp.adobe.com/pub/adobe/magic/framemaker/unix/5.x/beta/
XDISTFILES=	fmlinux.txt fmlinux.tar.gz dictionaries.txt \
X		dictionaries.tar.gz help.txt help.tar.gz manuals.txt \
X		manuals.tar.gz
XDIST_SUBDIR=	framemaker
X
XMAINTAINER=	packages@netbsd.org
XHOMEPAGE=	http://www.adobe.com/products/framemaker/fmlinux.html
X
XMIRROR_DISTFILE=NO
X
XEXTRACT_ONLY=	# empty
XNO_PATCH=	YES
XNO_CONFIGURE=	YES
XNO_PACKAGE=
XNO_CDROM=
X
XONLY_FOR_PLATFORM=*-*-i386
X
X.include "../../mk/bsd.prefs.mk"
X.if ${OPSYS} == "NetBSD"
X.if (${MACHINE_ARCH} == "i386")
X.if !exists(/emul/linux/lib/ld-linux.so.2)
XIGNORE= requires Linux glibc2 libraries - see compat_linux(8)
X.endif
X.endif
X.endif
X
XPLIST_SRC=	${WRKDIR}/PLIST.src
X
Xdo-build:
X	@${SED} -e 's|$${PREFIX}|${PREFIX}|g' \
X		${FILESDIR}/framemaker > ${WRKDIR}/framemaker
X
Xdo-install:
X	@${GTAR} xCzvf ${PREFIX}/libexec ${_DISTDIR}/fmlinux.tar.gz
X	@${GTAR} xCzvf ${PREFIX}/libexec/FM556_linux/fminit/usenglish \
X		${_DISTDIR}/manuals.tar.gz
X	@${GTAR} xCzvf ${PREFIX}/libexec/FM556_linux/fminit/usenglish \
X		${_DISTDIR}/help.tar.gz
X	@${GTAR} xCzvf ${PREFIX}/libexec/FM556_linux/fminit \
X		${_DISTDIR}/dictionaries.tar.gz
X	@${LN} -s linuxm.glibc2.i386 ${PREFIX}/libexec/FM556_linux/bin/unknown
X	@${INSTALL_SCRIPT} ${WRKDIR}/framemaker ${PREFIX}/bin
X
Xpost-install:
X	@${CP} ${PKGDIR}/PLIST ${PLIST_SRC}
X	@(cd ${PREFIX}; \
X	  find libexec/FM556_linux \( -type f -or -type l \) | \
X	    sort >> ${PLIST_SRC}; \
X	  for DIR in `find libexec/FM556_linux -type d | sort -r`; do \
X	    ${ECHO} "@dirrm $$DIR" >> ${PLIST_SRC}; \
X	  done)
X
X.include "../../mk/bsd.pkg.mk"
END-of-framemaker/Makefile
echo x - framemaker/files/md5
sed 's/^X//' >framemaker/files/md5 << 'END-of-framemaker/files/md5'
X$NetBSD$
X
XMD5 (framemaker/fmlinux.txt) = 7585e73dcd5d31f45312c87dbdd4db2d
XMD5 (framemaker/fmlinux.tar.gz) = 74134ddb25e15b4af9e59ceed43173ee
XMD5 (framemaker/dictionaries.txt) = 7862d9652cb7bd1053b2ab9095055b2d
XMD5 (framemaker/dictionaries.tar.gz) = e833783dad7a1d39c1ce5055f0778e06
XMD5 (framemaker/help.txt) = ad10374a133a3e13c5e065b8df21850d
XMD5 (framemaker/help.tar.gz) = 5508ee06a761f37e63dc0857ad19f544
XMD5 (framemaker/manuals.txt) = e235e05926545315c4e6aa78746fc091
XMD5 (framemaker/manuals.tar.gz) = d1ee35fc81e96ff91bebd14bb4254ee7
END-of-framemaker/files/md5
echo x - framemaker/files/framemaker
sed 's/^X//' >framemaker/files/framemaker << 'END-of-framemaker/files/framemaker'
X#!/bin/sh
XFMHOME=${PREFIX}/libexec/FM556_linux
XPATH=${PATH}:${FMHOME}/bin
Xexport FMHOME PATH
X
Xexec ${FMHOME}/bin/maker "$@"
END-of-framemaker/files/framemaker
exit