Changeset View
Changeset View
Standalone View
Standalone View
Mk/bsd.port.mk
Show First 20 Lines • Show All 3,480 Lines • ▼ Show 20 Lines | |||||
. if ${PREFIX} != ${LOCALBASE} | . if ${PREFIX} != ${LOCALBASE} | ||||
@${ECHO_CMD} "@dir ${LOCALBASE}/${LDCONFIG32_DIR}" >> ${TMPPLIST} | @${ECHO_CMD} "@dir ${LOCALBASE}/${LDCONFIG32_DIR}" >> ${TMPPLIST} | ||||
. endif | . endif | ||||
. endif | . endif | ||||
. endif | . endif | ||||
. endif | . endif | ||||
.endif | .endif | ||||
.if defined(USE_LINUX_PREFIX) | |||||
. if !target(fixup-lib-pkgconfig) | |||||
fixup-lib-pkgconfig: | |||||
@if [ -d ${STAGEDIR}${PREFIX}/lib/pkgconfig ]; then \ | |||||
if [ -z "$$(${FIND} ${STAGEDIR}${PREFIX}/lib/pkgconfig -maxdepth 0 -empty)" ]; then \ | |||||
${MKDIR} ${STAGEDIR}${PREFIX}/libdata/pkgconfig; \ | |||||
${MV} ${STAGEDIR}${PREFIX}/lib/pkgconfig/* ${STAGEDIR}${PREFIX}/libdata/pkgconfig; \ | |||||
fi; \ | |||||
${RMDIR} ${STAGEDIR}${PREFIX}/lib/pkgconfig; \ | |||||
fi | |||||
. endif | |||||
.endif | |||||
.if !target(create-users-groups) | .if !target(create-users-groups) | ||||
.if defined(GROUPS) || defined(USERS) | .if defined(GROUPS) || defined(USERS) | ||||
_UG_INSTALL= ${WRKDIR}/users-groups-install.sh | _UG_INSTALL= ${WRKDIR}/users-groups-install.sh | ||||
_UG_DEINSTALL= ${WRKDIR}/users-groups-deinstall.sh | _UG_DEINSTALL= ${WRKDIR}/users-groups-deinstall.sh | ||||
PKGPREINSTALL+= ${_UG_INSTALL} | PKGPREINSTALL+= ${_UG_INSTALL} | ||||
PKGPOSTDEINSTALL+= ${_UG_DEINSTALL} | PKGPOSTDEINSTALL+= ${_UG_DEINSTALL} | ||||
create-users-groups: | create-users-groups: | ||||
@${SETENV} \ | @${SETENV} \ | ||||
▲ Show 20 Lines • Show All 1,747 Lines • ▼ Show 20 Lines | _BUILD_SEQ= 100:build-message 300:pre-build 450:pre-build-script \ | ||||
500:do-build 700:post-build 850:post-build-script \ | 500:do-build 700:post-build 850:post-build-script \ | ||||
${_OPTIONS_build} ${_USES_build} | ${_OPTIONS_build} ${_USES_build} | ||||
_STAGE_DEP= build | _STAGE_DEP= build | ||||
# STAGE is special in its numbering as it has install and stage, so install is | # STAGE is special in its numbering as it has install and stage, so install is | ||||
# the main, and stage goes after. | # the main, and stage goes after. | ||||
_STAGE_SEQ= 050:stage-message 100:stage-dir 150:run-depends \ | _STAGE_SEQ= 050:stage-message 100:stage-dir 150:run-depends \ | ||||
151:lib-depends 200:apply-slist 300:pre-install \ | 151:lib-depends 200:apply-slist 300:pre-install \ | ||||
400:generate-plist 450:pre-su-install 475:create-users-groups \ | 400:generate-plist 450:pre-su-install 475:create-users-groups \ | ||||
500:do-install 550:kmod-post-install 700:post-install \ | 500:do-install 550:kmod-post-install 600:fixup-lib-pkgconfig 700:post-install \ | ||||
750:post-install-script 800:post-stage 850:compress-man \ | 750:post-install-script 800:post-stage 850:compress-man \ | ||||
860:install-rc-script 870:install-ldconfig-file \ | 860:install-rc-script 870:install-ldconfig-file \ | ||||
880:install-license 890:install-desktop-entries \ | 880:install-license 890:install-desktop-entries \ | ||||
900:add-plist-info 910:add-plist-docs 920:add-plist-examples \ | 900:add-plist-info 910:add-plist-docs 920:add-plist-examples \ | ||||
930:add-plist-data 940:add-plist-post ${POST_PLIST:C/^/990:/} \ | 930:add-plist-data 940:add-plist-post ${POST_PLIST:C/^/990:/} \ | ||||
${_OPTIONS_install} ${_USES_install} \ | ${_OPTIONS_install} ${_USES_install} \ | ||||
${_OPTIONS_stage} ${_USES_stage} | ${_OPTIONS_stage} ${_USES_stage} | ||||
.if defined(DEVELOPER) | .if defined(DEVELOPER) | ||||
▲ Show 20 Lines • Show All 136 Lines • Show Last 20 Lines |