View | Details | Raw Unified | Return to bug 126876 | Differences between
and this patch

Collapse All | Expand All

(-)/usr/home/lapo/ports/xpi-adblock/Makefile.xpi (-2 / +3 lines)
Lines 191-198 Link Here
191
# Maintainer section
191
# Maintainer section
192
xpi-gen:	extract
192
xpi-gen:	extract
193
	@${ECHO_CMD} -n 'XPI_ID='
193
	@${ECHO_CMD} -n 'XPI_ID='
194
	@${GREP} -Em1 'em:id|<id>' ${WRKSRC}/install.rdf | ${CUT} -f2- -d\> | \
194
	@${SED} -n '/<RDF:Description RDF:about="urn:mozilla:install-manifest"/,/>/p' ${WRKSRC}/install.rdf | \
195
	${CUT} -f1 -d\< | ${CUT} -f2 -d\"
195
		${GREP} -Em1 'em:id|<id>' | ${CUT} -f2- -d\> | \
196
		${CUT} -f1 -d\< | ${CUT} -f2 -d\"
196
	@${ECHO_CMD} -n 'XPI_FILES='
197
	@${ECHO_CMD} -n 'XPI_FILES='
197
	@cd ${WRKSRC} && ${FIND} -s . -not -type d | cut -f2- -d/ | ${TR} '\n' ' '
198
	@cd ${WRKSRC} && ${FIND} -s . -not -type d | cut -f2- -d/ | ${TR} '\n' ' '
198
	@if [ -d ${FILESDIR} -a -f ${FILESDIR}/chrome.manifest ] ; \
199
	@if [ -d ${FILESDIR} -a -f ${FILESDIR}/chrome.manifest ] ; \

Return to bug 126876