mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-23 04:23:08 +00:00
Fix build error with WRKDIRPREFIX.
PR: ports/134205 Submitted by: Marcin Cieslak <saper@SYSTEM.PL>
This commit is contained in:
parent
328dd42c5f
commit
e9b7f1c2f3
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=234109
@ -79,40 +79,35 @@ MAKEINFO= makeinfo --no-split --no-validate
|
||||
MAKEINFO_EMACS= ${EMACS_CMD} -no-site-file -no-init-file -batch
|
||||
MAKEINFO_EMACS_FLAGS= -e texinfo-format-buffer -f save-buffer
|
||||
|
||||
pre-build:
|
||||
.if defined(EMACS_PACKAGESDIR) && defined(XEMACS_PKGNAME)
|
||||
@${MAKE} pkg-el-copy
|
||||
pre-build: pkg-el-copy
|
||||
.endif
|
||||
|
||||
post-build:
|
||||
.if defined(BUILD_INFO_BY_EMACS) && (${BUILD_INFO_BY_EMACS} == "YES")
|
||||
@${MAKE} info-build-by-emacs
|
||||
post-build: info-build-by-emacs
|
||||
.else
|
||||
@${MAKE} info-build
|
||||
post-build: info-build
|
||||
.endif
|
||||
|
||||
pre-install:
|
||||
.if defined(EMACS_PACKAGESDIR) && defined(EMACS_PACKAGES_SUBDIRS)
|
||||
@${MAKE} mkdir-site-packages
|
||||
pre-install: mkdir-site-packages
|
||||
.endif
|
||||
.if defined(EMACS_PACKAGESDIR) && defined(XEMACS_PKGNAME)
|
||||
@${MAKE} pkg-el-install
|
||||
pre-install: pkg-el-install
|
||||
.endif
|
||||
|
||||
post-install:
|
||||
# install package-cookie
|
||||
@${MKDIR} ${LOCALBASE}/share/flim
|
||||
@${TOUCH} ${LOCALBASE}/share/flim/${FLIM_COOKIE}
|
||||
POST_INSTALL_TARGET= pkgcookie-install
|
||||
.if defined(EMACS_PACKAGESDIR) && defined(MANIFEST)
|
||||
@${MAKE} info-package-install
|
||||
@${MAKE} manifest-install
|
||||
POST_INSTALL_TARGET+= info-package-install manifest-install
|
||||
.else
|
||||
@${MAKE} info-install
|
||||
POST_INSTALL_TARGET+= info-install
|
||||
.endif
|
||||
.if !defined(NOPORTDOCS)
|
||||
@${MAKE} doc-install
|
||||
POST_INSTALL_TARGET+= doc-install
|
||||
.endif
|
||||
|
||||
post-install: ${POST_INSTALL_TARGET}
|
||||
|
||||
###############################################################################
|
||||
#
|
||||
# miscellaneous local functions
|
||||
@ -202,4 +197,9 @@ manifest-install:
|
||||
@${INSTALL_DATA} ${WRKDIR}/${MANIFEST} \
|
||||
${LOCALBASE}/${EMACS_PACKAGESDIR}/pkginfo/
|
||||
|
||||
pkgcookie-install:
|
||||
# install package-cookie
|
||||
@${MKDIR} ${LOCALBASE}/share/flim
|
||||
@${TOUCH} ${LOCALBASE}/share/flim/${FLIM_COOKIE}
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
|
Loading…
Reference in New Issue
Block a user