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.
20 lines
640 B
Makefile
20 lines
640 B
Makefile
# $NetBSD: Makefile,v 1.6 2001/11/29 01:12:40 hubertf Exp $
|
|
|
|
DISTNAME= dcdflib.c-1.1
|
|
PKGREVISION= 1
|
|
CATEGORIES= math
|
|
MASTER_SITES= ftp://odin.mdacc.tmc.edu/pub/source/
|
|
|
|
MAINTAINER= packages@netbsd.org
|
|
HOMEPAGE= http://odin.mdacc.tmc.edu/anonftp/page_2.html
|
|
COMMENT= Library of C Routines for Cumulative Distribution Functions
|
|
|
|
WRKSRC= ${WRKDIR}/dcdflib.c/src
|
|
|
|
post-install:
|
|
${INSTALL_DATA} ${WRKSRC}/../doc/dcdflib.h ${PREFIX}/include
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/dcdflib.c
|
|
cd ${WRKDIR}/dcdflib.c/ && ${INSTALL_DATA} README \
|
|
doc/dcdflib.chs doc/dcdflib.fdoc ${PREFIX}/share/doc/dcdflib.c/
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|