5542206cba
pkgsrc. Instead, a new variable PKGREVISION is invented that can get bumped independent of DISTNAME and PKGNAME. Example #1: DISTNAME= foo-X.Y PKGREVISION= Z => PKGNAME= foo-X.YnbZ Example #2: DISTNAME= barthing-X.Y PKGNAME= bar-X.Y PKGREVISION= Z => PKGNAME= bar=X.YnbZ (!) On subsequent changes, only PKGREVISION needs to be bumped, no more risk of getting DISTNAME changed accidentally.
29 lines
818 B
Makefile
29 lines
818 B
Makefile
# $NetBSD: Makefile,v 1.8 2001/11/29 01:12:39 hubertf Exp $
|
|
|
|
DISTNAME= vscmV0r4
|
|
PKGNAME= vscm-0.4
|
|
PKGREVISION= 1
|
|
CATEGORIES= lang
|
|
MASTER_SITES= ftp://ftp.cs.indiana.edu/pub/scheme-repository/imp/vscm/
|
|
|
|
PATCHFILES= bugfix.txt
|
|
PATCH_SITES= ${MASTER_SITES}
|
|
|
|
MAINTAINER= packages@netbsd.org
|
|
HOMEPAGE= http://www.cs.princeton.edu/~blume/vscm/
|
|
COMMENT= Portable scheme implementation
|
|
|
|
USE_GMAKE= yes
|
|
|
|
post-patch:
|
|
${SED} -e "s,@PREFIX@,${PREFIX}," ${FILESDIR}/path.h >${WRKSRC}/path.h
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/vscm ${PREFIX}/bin
|
|
${INSTALL_DATA_DIR} ${PREFIX}/lib/vscm
|
|
${INSTALL_DATA} ${WRKSRC}/.scheme-boot ${PREFIX}/lib/vscm/vscm-boot
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/vscm
|
|
cd ${WRKSRC} && ${INSTALL_DATA} README INSTALL DESCRIPTION \
|
|
${PREFIX}/share/doc/vscm
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|