Replaced ${PKGNAME} with ${PKGNAME_NOREV} to match the PLIST. Bumped

PKGREVISION.
This commit is contained in:
rillig 2006-02-14 01:09:07 +00:00
parent ecc788c565
commit 68da0ffdec

View file

@ -1,9 +1,9 @@
# $NetBSD: Makefile,v 1.11 2006/02/05 23:08:44 joerg Exp $
# $NetBSD: Makefile,v 1.12 2006/02/14 01:09:07 rillig Exp $
#
DISTNAME= jgrasp170
PKGNAME= jgrasp-1.7.0
PKGREVISION= 1
PKGREVISION= 2
CATEGORIES= devel
MASTER_SITES= ftp://ftp.eng.auburn.edu/pub/grasp/jgrasp/
EXTRACT_SUFX= .zip
@ -28,19 +28,19 @@ do-build:
${WRKSRC}/src/linux_exec.c
do-install:
${INSTALL_PROGRAM_DIR} ${PREFIX}/${PKGNAME}
${INSTALL_PROGRAM_DIR} ${PREFIX}/${PKGNAME}/bin
${INSTALL_PROGRAM_DIR} ${PREFIX}/${PKGNAME}/bin/${LOWER_OPSYS}
${INSTALL_PROGRAM_DIR} ${PREFIX}/${PKGNAME}/jbin
${INSTALL_PROGRAM_DIR} ${PREFIX}/${PKGNAME_NOREV}
${INSTALL_PROGRAM_DIR} ${PREFIX}/${PKGNAME_NOREV}/bin
${INSTALL_PROGRAM_DIR} ${PREFIX}/${PKGNAME_NOREV}/bin/${LOWER_OPSYS}
${INSTALL_PROGRAM_DIR} ${PREFIX}/${PKGNAME_NOREV}/jbin
cd ${WRKSRC} && ${PAX} -s ,^./.*bin/.*,, \
-rw . ${PREFIX}/${PKGNAME}/
-rw . ${PREFIX}/${PKGNAME_NOREV}/
${INSTALL_DATA} ${WRKSRC}/jbin/JGRASP__829J_6h.class \
${PREFIX}/${PKGNAME}/jbin/
${PREFIX}/${PKGNAME_NOREV}/jbin/
${INSTALL_PROGRAM} ${WRKSRC}/jbin/${LOWER_OPSYS}_run \
${PREFIX}/${PKGNAME}/jbin/
${PREFIX}/${PKGNAME_NOREV}/jbin/
${INSTALL_PROGRAM} ${WRKSRC}/bin/${LOWER_OPSYS}/jgrasp \
${PREFIX}/${PKGNAME}/bin/${LOWER_OPSYS}/
${LN} -s ${PREFIX}/${PKGNAME}/bin/${LOWER_OPSYS}/jgrasp \
${PREFIX}/${PKGNAME_NOREV}/bin/${LOWER_OPSYS}/
${LN} -s ${PREFIX}/${PKGNAME_NOREV}/bin/${LOWER_OPSYS}/jgrasp \
${PREFIX}/bin/jgrasp
.include "../../mk/x11.buildlink3.mk"