mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-19 00:13:33 +00:00
aa25396790
Run Tools/scripts/indent_make_if.pl on all of Mk. These white space changes contribute greatly to the readability of those files. As we have a version control system, finding out the reasons for the changes prior to these white space changes is still easily possible Differential Revision: https://reviews.freebsd.org/D35024 Reviewed by: portmgr (rene, bapt)
30 lines
702 B
Makefile
30 lines
702 B
Makefile
# Feature: trigger
|
|
# Usage: USES=trigger
|
|
# Valid ARGS: none
|
|
#
|
|
# Variables:
|
|
# TRIGGERS: list of triggers to package
|
|
#
|
|
# MAINTAINER= ports@FreeBSD.org
|
|
|
|
.if !defined(_INCLUDE_USES_TRIGGER_MK)
|
|
_INCLUDE_USES_TRIGGER_MK= yes
|
|
|
|
. if !empty(trigger_ARGS)
|
|
IGNORE= Incorrect 'USES+= trigger:${trigger_ARGS}' trigger takes no arguments
|
|
. endif
|
|
|
|
TRIGGERS?= ${PORTNAME}
|
|
. for t in ${TRIGGERS}
|
|
SUB_FILES+= ${t}.ucl
|
|
PLIST_FILES+= ${LOCALBASE}/share/pkg/triggers/$t.ucl
|
|
. endfor
|
|
|
|
_USES_install+= 601:trigger-post-install
|
|
trigger-post-install:
|
|
${MKDIR} ${STAGEDIR}${LOCALBASE}/share/pkg/triggers
|
|
. for t in ${TRIGGERS}
|
|
${INSTALL_DATA} ${WRKDIR}/$t.ucl ${STAGEDIR}${LOCALBASE}/share/pkg/triggers/
|
|
. endfor
|
|
.endif
|