blob: 4ed82be3bec994e190bf7bbf319eda83d3787ce0 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
PREFIX ?= /usr/local
SHAREDIR ?= ${PREFIX}/share
EXMANDIR ?= ${SHAREDIR}/exman
CURL ?= curl
TAR ?= tar
ALLOW_FAILURE ?= false
all: ${DISTFILES}
.PRECIOUS: ${DISTFILES}
${DISTFILES}:
${CURL} -LO ${MIRROR}/${.TARGET}
clean:
rm -f ${DISTFILES}
install: ${DISTFILES}
install -d ${DESTDIR}${EXMANDIR}/${SYSTEM}
.for distfile in ${DISTFILES}
${TAR} -x -f ${distfile} -C ${DESTDIR}${EXMANDIR}/${SYSTEM} \
--strip-components=${STRIP} '${FILES}' || ${ALLOW_FAILURE}
.endfor
uninstall:
rm -fr ${DESTDIR}${EXMANDIR}/${SYSTEM}
|