aboutsummaryrefslogtreecommitdiffstats
path: root/editors/flim
diff options
context:
space:
mode:
authornobutaka <nobutaka@FreeBSD.org>2009-05-18 00:26:23 +0800
committernobutaka <nobutaka@FreeBSD.org>2009-05-18 00:26:23 +0800
commitdad04ac63b0bb72f70bac0700d85c64ef467da47 (patch)
tree896822d5cbf21e414953a57ce34931a822270c56 /editors/flim
parent44e3e24688cad315411d0200d61b1791ffaab1a2 (diff)
downloadfreebsd-ports-gnome-dad04ac63b0bb72f70bac0700d85c64ef467da47.tar.gz
freebsd-ports-gnome-dad04ac63b0bb72f70bac0700d85c64ef467da47.tar.zst
freebsd-ports-gnome-dad04ac63b0bb72f70bac0700d85c64ef467da47.zip
Fix build error with WRKDIRPREFIX.
PR: ports/134205 Submitted by: Marcin Cieslak <saper@SYSTEM.PL>
Diffstat (limited to 'editors/flim')
-rw-r--r--editors/flim/Makefile32
1 files changed, 16 insertions, 16 deletions
diff --git a/editors/flim/Makefile b/editors/flim/Makefile
index acaca213e8ad..345b5f4dfc7c 100644
--- a/editors/flim/Makefile
+++ b/editors/flim/Makefile
@@ -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>