blob: ec0a4ecbfc0f808647471919513994022ab184db (
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
25
26
27
28
29
30
31
32
|
# $NetBSD: buildlink3.mk,v 1.3 2009/03/20 19:25:32 joerg Exp $
BUILDLINK_TREE+= rarian
.if !defined(RARIAN_BUILDLINK3_MK)
RARIAN_BUILDLINK3_MK:=
BUILDLINK_API_DEPENDS.rarian+= rarian>=0.6.0
BUILDLINK_PKGSRCDIR.rarian?= ../../textproc/rarian
BUILDLINK_TARGETS+= rarian-buildlink-fake
rarian-buildlink-fake:
${_PKG_SILENT}${_PKG_DEBUG} \
for fake in scrollkeeper-update scrollkeeper-rebuilddb \
rarian-sk-update rarian-sk-rebuild; \
do \
if [ ! -f ${BUILDLINK_DIR}/bin/$${fake} ]; then \
${ECHO_BUILDLINK_MSG} \
"Creating ${BUILDLINK_DIR}/bin/$${fake}"; \
${MKDIR} ${BUILDLINK_DIR}/bin; \
${ECHO} "#!/bin/sh" \
> ${BUILDLINK_DIR}/bin/$${fake}; \
${ECHO} "echo '[pkgsrc] Doing nothing for" \
"$${fake}' \$$*" \
>>${BUILDLINK_DIR}/bin/$${fake}; \
${CHMOD} +x ${BUILDLINK_DIR}/bin/$${fake}; \
fi; \
done
.endif # RARIAN_BUILDLINK3_MK
BUILDLINK_TREE+= -rarian
|