blob: 42b8ee644f33a63c22303c61e633ae94bb298373 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
# $NetBSD: Makefile.versions,v 1.2 2014/01/02 17:10:22 fhajny Exp $
_VERSIONS= \
couch_dbupdates 0.1 \
couch_index 0.1 \
couch_mrview 0.1 \
couch_plugins 0.1 \
couch_replicator 0.1 \
ejson 0.1.0 \
ibrowse 2.2.0 \
mochiweb 1.4.1 \
snappy 1.0.5
PLIST_SUBST+= VERSION=${DIST_VERSION_MAJOR}
.for name version in ${_VERSIONS}
VERSION.${name}=${version}
PLIST_SUBST+= VERSION.${name}=${version}
.endfor
# Generate PLIST
.for _pkg_ _version_ in $(_VERSIONS)
PRINT_PLIST_AWK+= {if ($$0 ~ /\/$(_pkg_)-$(_version_)\//) {sub(/\/$(_pkg_)-$(_version_)\//,"/$(_pkg_)-$${VERSION.$(_pkg_)}/", $$0);}}
.endfor
|