summaryrefslogtreecommitdiff
path: root/mail/mairix
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2006-04-05 16:41:34 +0000
committerjlam <jlam@pkgsrc.org>2006-04-05 16:41:34 +0000
commit7890fbd07bbe56368796509ba9476306580fe119 (patch)
tree8078f8801ba1cc408d1cc3731087b8d16aa50b49 /mail/mairix
parent656389654f54fee00894f3388dadd7783447e5e6 (diff)
downloadpkgsrc-7890fbd07bbe56368796509ba9476306580fe119.tar.gz
List the info files directly in the PLIST and honor PKG{INFO,MAN}DIR.
Diffstat (limited to 'mail/mairix')
-rw-r--r--mail/mairix/Makefile15
-rw-r--r--mail/mairix/PLIST3
2 files changed, 10 insertions, 8 deletions
diff --git a/mail/mairix/Makefile b/mail/mairix/Makefile
index 4c77bd514d9..5e214b1f6e0 100644
--- a/mail/mairix/Makefile
+++ b/mail/mairix/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.10 2006/04/05 07:06:13 jlam Exp $
+# $NetBSD: Makefile,v 1.11 2006/04/05 16:41:34 jlam Exp $
#
DISTNAME= mairix-0.16.1
@@ -13,23 +13,24 @@ HAS_CONFIGURE= yes
CONFIGURE_ARGS+= --prefix=${PREFIX:Q}
USE_TOOLS+= bison makeinfo
-INFO_FILES= mairix.info
+INFO_FILES= # PLIST
BINDIR= ${PREFIX}/bin
-INFODIR= ${PREFIX}/info
+INFODIR= ${PREFIX}/${PKGINFODIR}
HTMLDIR= ${PREFIX}/share/doc/html/mairix
-INSTALLATION_DIRS= bin info
+INSTALLATION_DIRS= ${BINDIR} ${INFODIR} ${HTMLDIR}
pre-build:
cd ${WRKSRC} && makeinfo mairix.texi
- cd ${WRKSRC} && makeinfo --no-split --number-sections --html \
+ cd ${WRKSRC} && makeinfo --no-split --number-sections --html \
mairix.texi > mairix.html
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/mairix ${BINDIR}
- ${INSTALL_DATA_DIR} ${HTMLDIR}
${INSTALL_DATA} ${WRKSRC}/mairix.html ${HTMLDIR}
- ${INSTALL_DATA} ${WRKSRC}/mairix.info ${INFODIR}
+ cd ${WRKSRC}; for f in mairix.info mairix.info-[0-9]; do \
+ ${TEST} ! -f "$$f" || ${INSTALL_DATA} "$$f" ${INFODIR}; \
+ done
.include "../../mk/bsd.pkg.mk"
diff --git a/mail/mairix/PLIST b/mail/mairix/PLIST
index e1fecec3ba5..cc6a4b3bfa5 100644
--- a/mail/mairix/PLIST
+++ b/mail/mairix/PLIST
@@ -1,4 +1,5 @@
-@comment $NetBSD: PLIST,v 1.1.1.1 2005/01/25 00:19:40 simonb Exp $
+@comment $NetBSD: PLIST,v 1.2 2006/04/05 16:41:34 jlam Exp $
bin/mairix
+info/mairix.info
share/doc/html/mairix/mairix.html
@dirrm share/doc/html/mairix