Check-in [0cdb938d38]

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:By default propose @dirrm not @dirrmtry
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 0cdb938d385094480a7125c78774faf41d3768ae
User & Date: bapt 2012-06-08 05:32:19
Context
2012-06-08
08:12
Convert genplist to use macros instead or direct call to commands While here rename STAGE_ARGS to PKG_ARGS to avoid STAGE_ARGS collision check-in: db974773f9 user: bapt tags: trunk
05:32
By default propose @dirrm not @dirrmtry check-in: 0cdb938d38 user: bapt tags: trunk
05:31
Remove prefix from @dirrmtry check-in: e3cf6a347d user: bapt tags: trunk
Changes

Changes to ports/Mk/bsd.stage.mk.

49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
		-e "s,${EXAMPLESDIR},%%PORTEXAMPLES%%%%EXAMPLESDIR%%,g" \
		-e "s,${DATADIR},%%DATADIR%%,g" \
		-e "s,${PREFIX}/,,g" | sort
	@${FIND} ${STAGEDIR} -type d | sed -e "s,${STAGEDIR},,g" \
		| while read line; do \
		grep -qw "^$${line}$$" ${WRKDIR}/.mtree || { \
			if [ -n "$${line}" ]; then \
				${ECHO_CMD} "@dirrmtry $${line}"; \
			fi ; \
		}; \
		done | sort -r | sed \
		-e "s,\(.*\)${DOCSDIR},%%PORTDOCS%%\1%%DOCSDIR%%,g" \
		-e "s,\(.*\)${EXAMPLESDIR},%%PORTEXAMPLES%%\1%%EXAMPLESDIR%%,g" \
		-e "s,${DATADIR},%%DATADIR%%,g" \
		-e "s,${PREFIX},,g"
.endif







|








49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
		-e "s,${EXAMPLESDIR},%%PORTEXAMPLES%%%%EXAMPLESDIR%%,g" \
		-e "s,${DATADIR},%%DATADIR%%,g" \
		-e "s,${PREFIX}/,,g" | sort
	@${FIND} ${STAGEDIR} -type d | sed -e "s,${STAGEDIR},,g" \
		| while read line; do \
		grep -qw "^$${line}$$" ${WRKDIR}/.mtree || { \
			if [ -n "$${line}" ]; then \
				${ECHO_CMD} "@dirrm $${line}"; \
			fi ; \
		}; \
		done | sort -r | sed \
		-e "s,\(.*\)${DOCSDIR},%%PORTDOCS%%\1%%DOCSDIR%%,g" \
		-e "s,\(.*\)${EXAMPLESDIR},%%PORTEXAMPLES%%\1%%EXAMPLESDIR%%,g" \
		-e "s,${DATADIR},%%DATADIR%%,g" \
		-e "s,${PREFIX},,g"
.endif