this is actually one case where SUBST_VAR shouldn't be used, as the end-user

won't have the same infrastructure as ports builder...
This commit is contained in:
espie 2010-03-01 18:14:37 +00:00
parent 9a2f0331f4
commit d9dc61d57d
2 changed files with 3 additions and 5 deletions

View File

@ -1,9 +1,9 @@
# $OpenBSD: Makefile,v 1.4 2007/09/15 21:34:35 simon Exp $
# $OpenBSD: Makefile,v 1.5 2010/03/01 18:14:37 espie Exp $
COMMENT= book about Python for experienced programmers
VERSION= 5.4
PKGNAME= diveintopython-${VERSION}
PKGNAME= diveintopython-${VERSION}p0
DISTNAME= diveintopython-html-${VERSION}
DISTNAMEPRINT= diveintopython-pdf-${VERSION}
CATEGORIES= books
@ -30,8 +30,6 @@ NO_BUILD= Yes
NO_REGRESS= Yes
PKG_ARCH= *
SUBST_VARS= PORTSDIR
DOC= ${PREFIX}/share/doc/diveintopython
WRKSRC= ${WRKDIR}/diveintopython-${VERSION}

View File

@ -1,3 +1,3 @@
Dive Into Python is a free Python book for experienced programmers.
You can find Python in ${PORTSDIR}/lang/python
You can find Python in the /usr/ports/lang/python