Subject: =?iso-8859-1?Q?What=B4s?= wrong with my Makefile
To: None <tech-pkg@netbsd.org>
From: Totty <tsadowski@gmx.net>
List: tech-pkg
Date: 02/12/2001 21:12:54
Hi,
Im trying to make a pkg but make hickups on the installation (copying).

What did I do wrong? It works in other Makefiles for packages.

Makefile:
# $NetBSD$
#

DISTNAME=       xjdic23
PKGNAME=        xjdic
CATEGORIES=     japanese
MASTER_SITES=   ftp://ftp.cc.monash.edu.au/pub/nihongo/
EXTRACT_SUFX=   .tgz

MAINTAINER=     tsadowski@gmx.net
HOMEPAGE=

WRKSRC=         ${WRKDIR}

PKG_VERBOSE=    yes
NO_CONFIGURE=   yes

.include "../../mk/bsd.prefs.mk"
#either stand alone or client and/or server
STAND_ALONE=    yes
CLIENT=         no
SERVER=         no


do-install:
.if defined(STAND_ALONE)
@${CP} ${WRKDIR}/xjdic_sa ${PREFIX}/bin/xjdic
.endif
.if defined(CLIENT)
        @${CP} ${WRKDIR}/xjdic_cl ${PREFIX}/bin/xjdic
.endif
.if defined(SERVER)
        @${CP} ${WRKDIR}/xjdserver ${PREFIX}/bin/xjdserver
.endif
        @${CP} ${WRKDIR}/xjdxgen \
               ${PREFIX}/bin/xjdxgen
        @${CP} ${WRKDIR}/romkana.conv \
                ${PREFIX}/dict/romkana.conv
        @${CP} ${WRKDIR}/radicals.tm \
                ${PREFIX}/dict/radicals.tm
        @${CP} ${WRKDIR}/vconj \
                ${PREFIX}/dict/vconj
        @${CP} ${WRKDIR}/radkfile \
                ${PREFIX}/dict/radkfile
        @${CP} ${WRKDIR}/kanjstroke \
                ${PREFIX}/dict/kanjstroke
        @${CP} ${WRKDIR}/clipboard \
                ${PREFIX}/dict/clipboard
        @${CP} ${WRKDIR}/gnu_licence \
                ${PREFIX}/dict/gnu_licence
        @${CP} ${WRKDIR}/.xjdicrc.skel \
                /.xjdicrc


.include "../../mk/bsd.pkg.mk"


Errors:
apollo# make install
"Makefile", line 27: Need an operator
"Makefile", line 30: Need an operator
"Makefile", line 33: Need an operator
"Makefile", line 36: Need an operator
"Makefile", line 38: Need an operator
"Makefile", line 40: Need an operator
"Makefile", line 42: Need an operator
"Makefile", line 44: Need an operator
"Makefile", line 46: Need an operator
"Makefile", line 48: Need an operator
"Makefile", line 50: Need an operator
"Makefile", line 52: Need an operator
Fatal errors encountered -- cannot continue



-Torsten