diff options
author | agc <agc@pkgsrc.org> | 1998-04-24 09:15:57 +0000 |
---|---|---|
committer | agc <agc@pkgsrc.org> | 1998-04-24 09:15:57 +0000 |
commit | 4d9b4e20bbf88456ceb5f52c051a9aba84372fa1 (patch) | |
tree | d37c1c7f352b2e593f6a2b7b5575f2716700d276 /mk/bsd.pkg.subdir.mk | |
parent | 1f37a0c6a7905771e5dfb97545f75f3858327d8e (diff) | |
download | pkgsrc-4d9b4e20bbf88456ceb5f52c051a9aba84372fa1.tar.gz |
Use relative paths within the pkgsrc tree, and remove PORTSDIR
definition accordingly.
Modify check in LIB_DEPENDS, RUN_DEPENDS and BUILD_DEPENDS, so that
the first component is considered to be a file name if it contains a
'/' character anywhere within it, not just the first character.
Diffstat (limited to 'mk/bsd.pkg.subdir.mk')
-rw-r--r-- | mk/bsd.pkg.subdir.mk | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/mk/bsd.pkg.subdir.mk b/mk/bsd.pkg.subdir.mk index 1b1b6d28540..f5760a20210 100644 --- a/mk/bsd.pkg.subdir.mk +++ b/mk/bsd.pkg.subdir.mk @@ -1,4 +1,4 @@ -# $NetBSD: bsd.pkg.subdir.mk,v 1.9 1998/04/15 10:45:05 agc Exp $ +# $NetBSD: bsd.pkg.subdir.mk,v 1.10 1998/04/24 09:15:57 agc Exp $ # Derived from: FreeBSD Id: bsd.port.subdir.mk,v 1.19 1997/03/09 23:10:56 wosch Exp # from: @(#)bsd.subdir.mk 5.9 (Berkeley) 2/1/91 # @@ -110,16 +110,10 @@ readme: @make README.html .endif -.if (${OPSYS} == "NetBSD") -PORTSDIR ?= /usr/pkgsrc -.else -PORTSDIR ?= /usr/ports -.endif -TEMPLATES ?= ${PORTSDIR}/templates .if defined(PORTSTOP) -README= ${TEMPLATES}/README.top +README= templates/README.top .else -README= ${TEMPLATES}/README.category +README= ../templates/README.category .endif HTMLIFY= sed -e 's/&/\&/g' -e 's/>/\>/g' -e 's/</\</g' |