diff options
author | dmcmahill <dmcmahill> | 2007-02-24 03:32:07 +0000 |
---|---|---|
committer | dmcmahill <dmcmahill> | 2007-02-24 03:32:07 +0000 |
commit | f2838377da68a1cd4b6a2ce92a05f83ce458f0ea (patch) | |
tree | 148e948b07da32580d1487b382cef96b99d10cf1 | |
parent | ea7aa6e03fabaa780a895d4b5fc700558e41561a (diff) | |
download | pkgsrc-f2838377da68a1cd4b6a2ce92a05f83ce458f0ea.tar.gz |
fix WRKSRC and PLIST for x86_64
-rw-r--r-- | cad/lc/Makefile | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/cad/lc/Makefile b/cad/lc/Makefile index 9c1eeb8ecc8..747c8d7a5bd 100644 --- a/cad/lc/Makefile +++ b/cad/lc/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.7 2007/02/24 00:29:42 dmcmahill Exp $ +# $NetBSD: Makefile,v 1.8 2007/02/24 03:32:07 dmcmahill Exp $ DISTNAME= lc # Overridden below PKGNAME= lc-2.10 @@ -47,6 +47,8 @@ DISTNAME= lc_amd64_lx24 DEPENDS+= suse_openmotif>=9.1:../../emulators/${SUSE_DIR_PREFIX}_openmotif DEPENDS+= suse_x11>=9.1:../../emulators/${SUSE_DIR_PREFIX}_x11 . endif +WRKSRC= ${WRKDIR}/lc +HAVE_LCSPICE= "@comment " .elif ${MACHINE_ARCH} == "mipsel" DISTNAME= lc_irix @@ -71,6 +73,10 @@ PKG_FAIL_REASON+= '${PKGNAME} requires Solaris libraries - see compat_svr4(8)' . endif .endif +HAVE_LCSPICE?= "" + +PLIST_SUBST+= HAVE_LCSPICE=${HAVE_LCSPICE} + DISTFILES= lc_doc.tar.gz ${DISTNAME}${EXTRACT_SUFX} INSTALLATION_DIRS= bin share @@ -78,7 +84,7 @@ INSTALLATION_DIRS= bin share do-install: ${INSTALL_PROGRAM} ${WRKSRC}/bin/lc ${PREFIX}/bin/lc ${INSTALL_PROGRAM} ${WRKSRC}/bin/lcplot ${PREFIX}/bin/lcplot - ${INSTALL_PROGRAM} ${WRKSRC}/bin/spice ${PREFIX}/bin/lcspice + if test -f ${WRKSRC}/bin/spice ; then ${INSTALL_PROGRAM} ${WRKSRC}/bin/spice ${PREFIX}/bin/lcspice ; fi cd ${PREFIX}/share && ${TAR} -zxf ${DISTDIR}/${DIST_SUBDIR}/lc_doc.tar.gz ${CHMOD} -R 644 ${PREFIX}/share/lc2.10 ${CHOWN} -R ${SHAREOWN} ${PREFIX}/share/lc2.10 |