"Рашид Ачилов. Создаем порт для FreeBSD своими руками (Часть 2) " - читать интересную книгу автора

@${CP} ${DISTDIR}/${DIST_SUBDIR}/gsi-${GSI_VERSION}-sorted.txt.bz2
${WRKDIR}/${GSI_DIR}
@cd ${WRKDIR}/${GSI_DIR} && \
${BZIP2_CMD} -d gsi-${GSI_VERSION}-sorted.txt.bz2
.endif
.if defined(USE_INFRA_PATCHSET)
@${ECHO_MSG} "-=ъ Extracting Infra patches set"


@${MKDIR} ${WRKDIR}/${INFRA_PATCHDIR}

@${CP} ${DISTDIR}/${DIST_SUBDIR}/${INFRA_PATCHEXT}.tar.gz
${WRKDIR}/${INFRA_PATCHDIR}
@cd ${WRKDIR}/${INFRA_PATCHDIR} && \
${TAR} -xzvf ${INFRA_PATCHEXT}.tar.gz
.endif

Љ®ЇЁа㥬 гЇ Є®ў ­­л© д ©« ва ­б«пжЁЁ Ё­вҐадҐ©б  Ё§
/usr/ports/distfiles/openoffice (§ ¤ ­  DIST_SUBDIR) ў Є в «®Ј, Є®в®ал© Ўл«
ᮧ¤ ­ § а ­ҐҐ, Ё а бЇ Є®ўлў Ґ¬ ҐЈ®  аеЁў в®а®¬ bzip2. Љ®ЇЁа㥬  аеЁў Ї в祩
"€­да -ђҐбгаб" ў ¤агЈ®©, ЇаҐ¤ў аЁвҐ«м­® ᮧ¤ ­­л© Є в «®Ј Ё а бЇ Є®ўлў Ґ¬
ҐЈ®, ­® 㦥 Їа®Ја ¬¬®© tar. ЋЎа вЁвҐ ў­Ё¬ ­ЁҐ, зв® ўбҐ Є®¬ ­¤л
Ї а ¬ҐваЁ§Ёа®ў ­л, - ўбо¤г ЁбЇ®«м§гҐвбп ${PROGRAM},   ­Ґ /bin/program!

post-patch:
.if defined(USE_INFRA_PATCHSET)
@${ECHO_MSG} "-=ъ Patching OOo with Infra patches set"
@cd ${WRKDIR}/${INFRA_PATCHDIR}/${INFRA_PATCHEXT} && \


${SH} ${INFRA_PATCHER}

.endif

„®Ї®«­пҐ¬ ¬ЁиҐ­м patch Ї®¤¬ЁиҐ­мо post-patch, ў Є®в®а®© б®Ўб⢥­­® Ё
§ ЇгбЄ Ґ¬ бЄаЁЇв, ў­®бпйЁ© Ё§¬Ґ­Ґ­Ёп. ЋЎа вЁвҐ ў­Ё¬ ­ЁҐ - § ЇЁб вм нв® ў ¤ўҐ
бва®ЄЁ ­Ґ«м§п! …б«Ё § ЇЁб вм Є®¬ ­¤л cd Ё § ЇгбЄ бЄаЁЇв  ­  а §­ле бва®Є е,
в® § ЇгбЄ бЄаЁЇв  Їа®Ё§®©¤Ґв ­Ґ Ё§ Є в «®Ј , ў Є®в®ал© ЇҐаҐи«Ё Є®¬ ­¤®© cd,
  Ё§ ⥪г饣®, Ї®в®¬г зв® make, ўлЇ®«­Ёў § Їа®иҐ­­®Ґ ¤Ґ©бвўЁҐ, ў®§ўа й Ґвбп
ў Є в «®Ј, Ё§ Є®в®а®Ј® ®­  Ўл«  § Їг饭 . ’®з­® в Є ¦Ґ ўлЇ®«­повбп ўбҐ
¤агЈЁҐ ¤Ґ©бвўЁп, бўп§ ­­лҐ ᮠᬥ­®© Є в «®Ј , - ­ ЇаЁ¬Ґа а бЇ Є®ўЄ  д ©«®ў.

.if defined(PREBUILD_TRANSEX3)
@${ECHO_MSG} "-=ъ Pre-build TRANSEX3"
@${ECHO} "source ${WRKSRC}/FreeBSDEnv.Set"


ъ ${GSI_PREBUILD}

@${ECHO} "cd transex3 && build -all && deliver"