summaryrefslogtreecommitdiff
path: root/math/calc/Makefile
diff options
context:
space:
mode:
authorjlam <jlam>2006-04-05 23:01:15 +0000
committerjlam <jlam>2006-04-05 23:01:15 +0000
commit3f5d4958f493b68b95bf81cec2aee7b824fb7353 (patch)
tree4e07c14183f81fa76b20edb581fa96f647d4e8fe /math/calc/Makefile
parentc58b431b470a16fadadf83692c86c79c46efa51e (diff)
downloadpkgsrc-3f5d4958f493b68b95bf81cec2aee7b824fb7353.tar.gz
List the info files directly in the PLIST and honor PKG{INFO,MAN}DIR.
Diffstat (limited to 'math/calc/Makefile')
-rw-r--r--math/calc/Makefile14
1 files changed, 8 insertions, 6 deletions
diff --git a/math/calc/Makefile b/math/calc/Makefile
index f8307ff2ba8..6c0623c4cd5 100644
--- a/math/calc/Makefile
+++ b/math/calc/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.18 2006/03/05 16:27:27 jlam Exp $
+# $NetBSD: Makefile,v 1.19 2006/04/05 23:01:15 jlam Exp $
DISTNAME= calc-2.02f
PKGNAME= ${EMACS_PKGNAME_PREFIX}${DISTNAME}
@@ -15,14 +15,16 @@ COMMENT= Advanced Calculator for GNU Emacs
MAKE_ENV+= EMACS=${EMACS_FLAVOR:Q}
USE_TOOLS+= makeinfo
-INFO_FILES= calc.info
+INFO_FILES= # PLIST
-INSTALLATION_DIRS= info
+INSTALLATION_DIRS= ${EMACS_INFOPREFIX} ${EMACS_LISPPREFIX}/calc
do-install:
- ${INSTALL_DATA_DIR} ${EMACS_LISPPREFIX}/calc
${INSTALL_DATA} ${WRKSRC}/*.el ${WRKSRC}/*.elc \
- ${WRKSRC}/calccard.tex ${EMACS_LISPPREFIX}/calc
- ${INSTALL_DATA} ${WRKSRC}/calc.info* ${PREFIX}/info
+ ${WRKSRC}/calccard.tex ${EMACS_LISPPREFIX}/calc
+ cd ${WRKSRC}; for f in *.info *.info-[0-9]*; do \
+ ${TEST} ! -f "$$f" || \
+ ${INSTALL_DATA} "$$f" ${EMACS_INFOPREFIX}; \
+ done
.include "../../mk/bsd.pkg.mk"