2003-06-03 11:40:36 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.2 2003/06/03 15:40:36 avsm Exp $
|
2003-05-28 09:46:17 -04:00
|
|
|
|
|
|
|
COMMENT= "the definitive guide to CVS"
|
|
|
|
|
|
|
|
V= 1.21
|
|
|
|
DISTNAME= cvsbook-${V}-all
|
|
|
|
PKGNAME= cvs-guide-${V}
|
|
|
|
CATEGORIES= books
|
|
|
|
MASTER_SITES= http://cvsbook.red-bean.com/
|
|
|
|
|
|
|
|
HOMEPAGE= http://cvsbook.red-bean.com/
|
|
|
|
MAINTAINER= Anil Madhavapeddy <avsm@openbsd.org>
|
|
|
|
|
|
|
|
# GPL
|
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
|
|
|
|
WRKDIST= ${WRKDIR}/cvsbook-${V}
|
|
|
|
|
|
|
|
NO_BUILD= Yes
|
|
|
|
NO_REGRESS= Yes
|
|
|
|
|
|
|
|
INSTALL_LOC= ${PREFIX}/share/doc/cvs-guide
|
|
|
|
HTML_DOCS= amazon-boycott.html cvsbook.html anoncvs.html \
|
|
|
|
index.html errata.html ChangeLog
|
|
|
|
PRINT_DOCS= cvsbook.ps cvsbook.pdf
|
|
|
|
|
|
|
|
do-install:
|
|
|
|
${INSTALL_DATA_DIR} ${INSTALL_LOC}
|
|
|
|
${INSTALL_DATA_DIR} ${INSTALL_LOC}/html
|
|
|
|
${INSTALL_DATA_DIR} ${INSTALL_LOC}/print
|
|
|
|
.for i in ${HTML_DOCS}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/${i} ${INSTALL_LOC}/html
|
|
|
|
.endfor
|
|
|
|
.for i in ${PRINT_DOCS}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/${i} ${INSTALL_LOC}/print
|
|
|
|
.endfor
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|