View | Details | Raw Unified | Return to bug 196482
Collapse All | Expand All

(-)./Makefile (-14 / +12 lines)
Lines 63-90 Link Here
63
post-install:
63
post-install:
64
	@cd ${STAGEDIR}${PREFIX}; \
64
	@cd ${STAGEDIR}${PREFIX}; \
65
		${FIND} * \( -type f -or -type l \) -path "${TYPO3WWW}/${PORTNAME}-${TYPO3RELEASE}/*" | \
65
		${FIND} * \( -type f -or -type l \) -path "${TYPO3WWW}/${PORTNAME}-${TYPO3RELEASE}/*" | \
66
		${SORT} >> ${TMPPLIST}
66
		${SORT} | ${SED} -ne 's#^#@(root,wheel,) #p' >> ${TMPPLIST}
67
	@${ECHO_CMD} -e "@owner ${WWWOWN}\n@group ${WWWGRP}" >> ${TMPPLIST}
68
	@cd ${STAGEDIR}${PREFIX}; \
67
	@cd ${STAGEDIR}${PREFIX}; \
69
		${FIND} * \( -type f -or -type l \) -path "${TYPO3WWW}/${TYPO3SRC}/typo3/ext/*" | \
68
		${FIND} * \( -type f -or -type l \) -path "${TYPO3WWW}/${TYPO3SRC}/typo3/ext/*" | \
70
		${SORT} >> ${TMPPLIST}
69
		${SORT} | ${SED} -ne 's#^#@(${WWWOWN},${WWWGRP},) #p' >> ${TMPPLIST}
71
	@${ECHO_CMD} -e "@owner root\n@group wheel" >> ${TMPPLIST}
72
	@cd ${STAGEDIR}${PREFIX}; \
70
	@cd ${STAGEDIR}${PREFIX}; \
73
		${FIND} * \( -type f -or -type l \) \
71
		${FIND} * \( -type f -or -type l \) \
74
		-not \( -path "${TYPO3WWW}/${PORTNAME}-${TYPO3RELEASE}/*" -or \
72
		-not \( -path "${TYPO3WWW}/${PORTNAME}-${TYPO3RELEASE}/*" -or \
75
		-path "${TYPO3WWW}/${TYPO3SRC}/typo3/ext/*" \) | \
73
		-path "${TYPO3WWW}/${TYPO3SRC}/typo3/ext/*" \) | \
76
		${SORT} >> ${TMPPLIST}
74
		${SORT} | ${SED} -ne 's#^#@(root,wheel,) #p' >> ${TMPPLIST}
77
	@${ECHO_CMD} -e "@owner ${WWWOWN}\n@group ${WWWGRP}" >> ${TMPPLIST}
75
	@cd ${STAGEDIR}${PREFIX}; \
78
	@cd ${STAGEDIR}${PREFIX}; ${FIND} -d * -type d -regex "${TYPO3WWW}/${PORTNAME}-${TYPO3RELEASE}/*.*" | \
76
		${FIND} -d * -type d -regex "${TYPO3WWW}/${PORTNAME}-${TYPO3RELEASE}/*.*" | \
79
		${SORT} | ${SED} -ne 's#^#@dirrmtry #p' >> ${TMPPLIST}
77
		${SORT} | ${SED} -ne 's#^#@dir(root,wheel,) #p' >> ${TMPPLIST}
80
	@${ECHO_CMD} -e "@owner ${WWWOWN}\n@group ${WWWGRP}" >> ${TMPPLIST}
78
	@cd ${STAGEDIR}${PREFIX}; \
81
	@cd ${STAGEDIR}${PREFIX}; ${FIND} -d * -type d -regex "${TYPO3WWW}/${TYPO3SRC}/typo3/ext/*.*" | \
79
		${FIND} -d * -type d -regex "${TYPO3WWW}/${TYPO3SRC}/typo3/ext/*.*" | \
82
		${SORT} | ${SED} -ne 's#^#@dirrmtry #p' >> ${TMPPLIST}
80
		${SORT} | ${SED} -ne 's#^#@dir(${WWWOWN},${WWWGRP},) #p' >> ${TMPPLIST}
83
	@${ECHO_CMD} -e "@owner root\n@group wheel" >> ${TMPPLIST}
81
	@cd ${STAGEDIR}${PREFIX}; \
84
	@cd ${STAGEDIR}${PREFIX}; ${FIND} * -type d \
82
		${FIND} * -type d \
85
		-path "${TYPO3WWW}/*" \
83
		-path "${TYPO3WWW}/*" \
86
		-not \( -regex "${TYPO3WWW}/${PORTNAME}-${TYPO3RELEASE}/*.*" -or \
84
		-not \( -regex "${TYPO3WWW}/${PORTNAME}-${TYPO3RELEASE}/*.*" -or \
87
		-regex "${TYPO3WWW}/${TYPO3SRC}/typo3/ext/*.*" \) | \
85
		-regex "${TYPO3WWW}/${TYPO3SRC}/typo3/ext/*.*" \) | \
88
		${SORT} | ${SED} -ne 's#^#@dirrmtry #p' >> ${TMPPLIST}
86
		${SORT} | ${SED} -ne 's#^#@dir(root,wheel,) #p' >> ${TMPPLIST}
89
87
90
.include <bsd.port.mk>
88
.include <bsd.port.mk>

Return to bug 196482