svn commit: r359896 - head/databases/bbdb
Antoine Brodin
antoine at FreeBSD.org
Mon Jun 30 18:13:33 UTC 2014
Author: antoine
Date: Mon Jun 30 18:13:32 2014
New Revision: 359896
URL: http://svnweb.freebsd.org/changeset/ports/359896
QAT: https://qat.redports.org/buildarchive/r359896/
Log:
Allow package installation in a world WITHOUT_INFO
Modified:
head/databases/bbdb/Makefile
head/databases/bbdb/pkg-plist
Modified: head/databases/bbdb/Makefile
==============================================================================
--- head/databases/bbdb/Makefile Mon Jun 30 18:13:11 2014 (r359895)
+++ head/databases/bbdb/Makefile Mon Jun 30 18:13:32 2014 (r359896)
@@ -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>
Modified: head/databases/bbdb/pkg-plist
==============================================================================
--- head/databases/bbdb/pkg-plist Mon Jun 30 18:13:11 2014 (r359895)
+++ head/databases/bbdb/pkg-plist Mon Jun 30 18:13:32 2014 (r359896)
@@ -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
More information about the svn-ports-all
mailing list