44 lines
1.0 KiB
Makefile
44 lines
1.0 KiB
Makefile
# $OpenBSD: Makefile,v 1.3 2007/09/16 00:27:05 merdely Exp $
|
|
|
|
CATEGORIES= books lang
|
|
COMMENT= Icon language implemention reference book
|
|
MAINTAINER= Marc Espie <espie@openbsd.org>
|
|
|
|
MASTER_SITES= http://www.cs.arizona.edu/icon/ftp/doc/
|
|
|
|
|
|
# This documents version 9.3 of the language.
|
|
V=6
|
|
DISTNAME= icon-book-$V
|
|
|
|
FLAVORS=two_sided
|
|
FLAVOR?=
|
|
.if ${FLAVOR:L} == "two_sided"
|
|
DISTFILES= ib2up.pdf
|
|
FULLPKGNAME= implementation-of-icon-two_sided-$V
|
|
.else
|
|
DISTFILES= ib1up.pdf
|
|
FULLPKGNAME= implementation-of-icon-$V
|
|
.endif
|
|
|
|
SUPDISTFILES= ib1up.pdf ib2up.pdf
|
|
|
|
# Book says:
|
|
# 'This book originally was published by Princeton University Press.
|
|
# It is out of print and the rights have reverted to the authors, who hereby
|
|
# place it in the public domain'.
|
|
PERMIT_PACKAGE_FTP=Yes
|
|
PERMIT_PACKAGE_CDROM=Yes
|
|
PERMIT_DISTFILES_FTP=Yes
|
|
PERMIT_DISTFILES_CDROM=Yes
|
|
|
|
EXTRACT_ONLY=
|
|
NO_BUILD=Yes
|
|
PKG_ARCH=*
|
|
|
|
do-install:
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/icon
|
|
${INSTALL_DATA} ${FULLDISTDIR}/${DISTFILES} ${PREFIX}/share/doc/icon/implementation-of-icon${FLAVOR_EXT}.pdf
|
|
|
|
.include <bsd.port.mk>
|