2009-03-20 20:23:50 +01:00
|
|
|
# $NetBSD: buildlink3.mk,v 1.3 2009/03/20 19:25:32 joerg Exp $
|
2007-10-11 20:43:48 +02:00
|
|
|
|
2009-03-20 20:23:50 +01:00
|
|
|
BUILDLINK_TREE+= rarian
|
2007-10-11 20:43:48 +02:00
|
|
|
|
2009-03-20 20:23:50 +01:00
|
|
|
.if !defined(RARIAN_BUILDLINK3_MK)
|
|
|
|
RARIAN_BUILDLINK3_MK:=
|
2007-10-11 20:43:48 +02:00
|
|
|
|
|
|
|
BUILDLINK_API_DEPENDS.rarian+= rarian>=0.6.0
|
|
|
|
BUILDLINK_PKGSRCDIR.rarian?= ../../textproc/rarian
|
|
|
|
|
2007-11-05 18:06:33 +01:00
|
|
|
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
|
2009-03-20 20:23:50 +01:00
|
|
|
.endif # RARIAN_BUILDLINK3_MK
|
2007-11-05 18:06:33 +01:00
|
|
|
|
2009-03-20 20:23:50 +01:00
|
|
|
BUILDLINK_TREE+= -rarian
|