diff options
author | antoine <antoine@FreeBSD.org> | 2014-07-01 02:13:32 +0800 |
---|---|---|
committer | antoine <antoine@FreeBSD.org> | 2014-07-01 02:13:32 +0800 |
commit | 737435241c8dd6972894eed2ff539ddb6d9f7b1e (patch) | |
tree | 772a6aa7c811d1d9fdb6ae9229a61e3bb6eb674f /databases/bbdb | |
parent | c0f217e5ceda491c3d07e51ac3dffbc0e5643bc5 (diff) | |
download | freebsd-ports-gnome-737435241c8dd6972894eed2ff539ddb6d9f7b1e.tar.gz freebsd-ports-gnome-737435241c8dd6972894eed2ff539ddb6d9f7b1e.tar.zst freebsd-ports-gnome-737435241c8dd6972894eed2ff539ddb6d9f7b1e.zip |
Allow package installation in a world WITHOUT_INFO
Diffstat (limited to 'databases/bbdb')
-rw-r--r-- | databases/bbdb/Makefile | 10 | ||||
-rw-r--r-- | databases/bbdb/pkg-plist | 3 |
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 |