aboutsummaryrefslogtreecommitdiff
path: root/databases/bbdb
diff options
context:
space:
mode:
authorAntoine Brodin <antoine@FreeBSD.org>2014-06-30 18:13:32 +0000
committerAntoine Brodin <antoine@FreeBSD.org>2014-06-30 18:13:32 +0000
commit7161d7e8bf48f568909b1f142beebb59e9c60ded (patch)
tree772a6aa7c811d1d9fdb6ae9229a61e3bb6eb674f /databases/bbdb
parent6185d436ed46d6ececea0f24f95f7f75ef5b1052 (diff)
downloadports-7161d7e8bf48f568909b1f142beebb59e9c60ded.tar.gz
ports-7161d7e8bf48f568909b1f142beebb59e9c60ded.zip
Allow package installation in a world WITHOUT_INFO
Notes
Notes: svn path=/head/; revision=359896
Diffstat (limited to 'databases/bbdb')
-rw-r--r--databases/bbdb/Makefile10
-rw-r--r--databases/bbdb/pkg-plist3
2 files changed, 5 insertions, 8 deletions
diff --git a/databases/bbdb/Makefile b/databases/bbdb/Makefile
index 6f68cdaabecc..1eaf73b46521 100644
--- a/databases/bbdb/Makefile
+++ b/databases/bbdb/Makefile
@@ -17,10 +17,7 @@ USES= makeinfo
ALL_TARGET= bbdb info
MAKE_ARGS= MAKE="${MAKE} clean MAKEINFO=\"makeinfo --no-split\""
BBDB_LISPDIR= ${EMACS_VERSION_SITE_LISPDIR}/${PORTNAME}
-DIRSECTION= "The Emacs editor and associated tools"
-INFOENTRY= "* BBDB: (bbdb). The Insidious Big Brother Database."
-PLIST_SUB+= BBDB_LISPDIR=${BBDB_LISPDIR} \
- DIRSECTION=${DIRSECTION} INFOENTRY=${INFOENTRY}
+PLIST_SUB+= BBDB_LISPDIR=${BBDB_LISPDIR}
MAKE_JOBS_UNSAFE= yes
GNU_CONFIGURE= yes
@@ -28,12 +25,15 @@ CONFIGURE_ARGS= --with-emacs=${EMACS_CMD}
.include <bsd.port.options.mk>
+.if ${PORT_OPTIONS:MDOCS}
+INFO= bbdb
+.endif
+
do-install:
${MKDIR} ${STAGEDIR}${PREFIX}/${EMACS_VERSION_SITE_LISPDIR}/${PORTNAME}
${INSTALL_DATA} ${WRKSRC}/lisp/*.el ${WRKSRC}/lisp/*.elc ${STAGEDIR}${PREFIX}/${EMACS_VERSION_SITE_LISPDIR}/${PORTNAME}
.if ${PORT_OPTIONS:MDOCS}
${INSTALL_DATA} ${WRKSRC}/texinfo/bbdb.info ${STAGEDIR}${PREFIX}/info
- install-info --section=${DIRSECTION} --entry=${INFOENTRY} ${STAGEDIR}${PREFIX}/info/bbdb.info ${STAGEDIR}${PREFIX}/info/dir
.endif
.include <bsd.port.mk>
diff --git a/databases/bbdb/pkg-plist b/databases/bbdb/pkg-plist
index d6a4cb3e6adb..ec892679b6a2 100644
--- a/databases/bbdb/pkg-plist
+++ b/databases/bbdb/pkg-plist
@@ -32,6 +32,3 @@
%%BBDB_LISPDIR%%/bbdb-xemacs.el
%%BBDB_LISPDIR%%/bbdb-xemacs.elc
@dirrm %%BBDB_LISPDIR%%
-%%PORTDOCS%%@unexec install-info --delete --section="%%DIRSECTION%%" --entry="%%INFOENTRY%%" %D/info/bbdb.info %D/info/dir
-%%PORTDOCS%%info/bbdb.info
-%%PORTDOCS%%@exec install-info --section="%%DIRSECTION%%" --entry="%%INFOENTRY%%" %D/info/bbdb.info %D/info/dir