Check-in [bd4ba8d610]

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

Overview
Comment:Correct ordering of directories, and manage DOCSDIR EXAMPLESDIR and DATADIR
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1:bd4ba8d610f98cf6b9db00a245309b19a8180db4
User & Date: bapt 2012-06-07 12:19:35
Context
2012-06-07
13:02
STAGE_ARGS only needed in make of fake-pkg check-in: d8703daead user: bapt tags: trunk
12:19
Correct ordering of directories, and manage DOCSDIR EXAMPLESDIR and DATADIR check-in: bd4ba8d610 user: bapt tags: trunk
10:45
Preliminary make genplist target check-in: 582f3b845d user: bapt tags: trunk
Changes

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

38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54



55
	@tar tf ${MTREE_FILE} > ${WRKDIR}/.mtree
	@${FIND} ${STAGEDIR} -type f -o -type l | sed -e "s,${STAGEDIR},,g" \
		-e "s,${DOCSDIR},%%DOCSDIR%%,g" \
		-e "s,${EXAMPLESDIR},%%EXAMPLESDIR%%,g" \
		-e "s,${DATADIR},%%DATADIR%%,g" \
		-e "s,${PREFIX}/,,g"
	@${FIND} ${STAGEDIR} -type d | sed -e "s,${STAGEDIR},,g" \
		-e "s,${DOCSDIR},%%DOCSDIR%%,g" \
		-e "s,${EXAMPLESDIR},%%EXAMPLESDIR%%,g" \
		-e "s,${DATADIR},%%DATADIR%%,g" \
		-e "s,${PREFIX}/,,g" | while read line; do \
		grep -qw "^$${line}$$" ${WRKDIR}/.mtree || { \
			if [ -n "$${line}" ]; then \
				${ECHO_CMD} "@dirrmtry $${line}"; \
			fi ; \
		}; \
		done | sort -r



.endif







<
<
<






|
>
>
>

38
39
40
41
42
43
44



45
46
47
48
49
50
51
52
53
54
55
	@tar tf ${MTREE_FILE} > ${WRKDIR}/.mtree
	@${FIND} ${STAGEDIR} -type f -o -type l | sed -e "s,${STAGEDIR},,g" \
		-e "s,${DOCSDIR},%%DOCSDIR%%,g" \
		-e "s,${EXAMPLESDIR},%%EXAMPLESDIR%%,g" \
		-e "s,${DATADIR},%%DATADIR%%,g" \
		-e "s,${PREFIX}/,,g"
	@${FIND} ${STAGEDIR} -type d | sed -e "s,${STAGEDIR},,g" \



		-e "s,${PREFIX}/,,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:S,^${PREFIX}/,,g},%%DOCSDIR%%,g" \
		-e "s,${EXAMPLESDIR:S,^${PREFIX}/,,g},%%EXAMPLESDIR%%,g" \
		-e "s,${DATADIR:S,^${PREFIX}/,,g},%%DATADIR%%,g"
.endif